This commit is contained in:
Jason Short 2012-01-03 10:23:05 -08:00
parent 67bf991598
commit 6513b12eb2
1 changed files with 1 additions and 0 deletions

View File

@ -3,6 +3,7 @@
static void read_control_switch() static void read_control_switch()
{ {
static bool switch_debouncer = false; static bool switch_debouncer = false;
byte switchPosition = readSwitch(); byte switchPosition = readSwitch();
if (oldSwitchPosition != switchPosition){ if (oldSwitchPosition != switchPosition){