Moved literals to header as suggested by MartinNel

This commit is contained in:
Thomas O Fredericks
2019-11-21 22:09:13 -05:00
parent 51032991ac
commit 6228e09451
2 changed files with 5 additions and 3 deletions
+1 -3
View File
@@ -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()