newrelic/futurestack14_badge — pull request #3 by chrono (2014-10-19 21:42:31+00:00)
Title: fix gpio callback registration

setting a callback for a gpio pin X would shift callback assignments for all gpio pins > X

the main loop sets/unsets gpio 8 (nfc) on every iteration. a callback registration for pin 11 would gradually move to higher pins and eventually pushed off the callbacks array.