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-standby.c | |
| 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 'spaghetti-monster/fsm-standby.c')
| -rw-r--r-- | spaghetti-monster/fsm-standby.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spaghetti-monster/fsm-standby.c b/spaghetti-monster/fsm-standby.c index eb631d6..b90ccea 100644 --- a/spaghetti-monster/fsm-standby.c +++ b/spaghetti-monster/fsm-standby.c @@ -37,7 +37,7 @@ void sleep_until_eswitch_pressed() // make sure switch isn't currently pressed while (button_is_pressed()) {} empty_event_sequence(); // cancel pending input on suspend - PCINT_since_WDT = 0; // ensure PCINT won't ignore itself + //PCINT_since_WDT = 0; // ensure PCINT won't ignore itself PCINT_on(); // wake on e-switch event |
