Moved literals to header as suggested by MartinNel
This commit is contained in:
+1
-3
@@ -3,9 +3,7 @@
|
||||
|
||||
#include "Bounce2.h"
|
||||
|
||||
static const uint8_t DEBOUNCED_STATE = 0b00000001;
|
||||
static const uint8_t UNSTABLE_STATE = 0b00000010;
|
||||
static const uint8_t CHANGED_STATE = 0b00000100;
|
||||
|
||||
|
||||
|
||||
Bounce::Bounce()
|
||||
|
||||
Reference in New Issue
Block a user