aboutsummaryrefslogtreecommitdiff
path: root/spaghetti-monster/fsm-pcint.h
diff options
context:
space:
mode:
authorSelene ToyKeeper2017-12-12 15:22:42 -0700
committerSelene ToyKeeper2017-12-12 15:22:42 -0700
commit8c13fd82557dadbe81023c534cd19c31ec40bde4 (patch)
tree540cab9fb6a09153fb99f8e5500aa670cb0b3fcb /spaghetti-monster/fsm-pcint.h
parentGreatly improved button debouncing. Helps a lot on FW3A and my light saber. (diff)
downloadanduril-8c13fd82557dadbe81023c534cd19c31ec40bde4.tar.gz
anduril-8c13fd82557dadbe81023c534cd19c31ec40bde4.tar.bz2
anduril-8c13fd82557dadbe81023c534cd19c31ec40bde4.zip
Debouncing finally works (at least, it does on my two test hosts).
Diffstat (limited to 'spaghetti-monster/fsm-pcint.h')
-rw-r--r--spaghetti-monster/fsm-pcint.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/spaghetti-monster/fsm-pcint.h b/spaghetti-monster/fsm-pcint.h
index a94fc82..ec3ae4b 100644
--- a/spaghetti-monster/fsm-pcint.h
+++ b/spaghetti-monster/fsm-pcint.h
@@ -23,7 +23,6 @@
//static volatile uint8_t button_was_pressed;
#define BP_SAMPLES 32
volatile uint8_t button_last_state;
-volatile uint8_t PCINT_since_WDT;
uint8_t button_is_pressed();
inline void PCINT_on();
inline void PCINT_off();