|
|
@ -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){ |
|
|
|