diff options
| author | Selene ToyKeeper | 2017-12-12 15:22:42 -0700 |
|---|---|---|
| committer | Selene ToyKeeper | 2017-12-12 15:22:42 -0700 |
| commit | 8c13fd82557dadbe81023c534cd19c31ec40bde4 (patch) | |
| tree | 540cab9fb6a09153fb99f8e5500aa670cb0b3fcb /spaghetti-monster/fsm-pcint.h | |
| parent | Greatly improved button debouncing. Helps a lot on FW3A and my light saber. (diff) | |
| download | anduril-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 '')
| -rw-r--r-- | spaghetti-monster/fsm-pcint.h | 1 |
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(); |
