aboutsummaryrefslogtreecommitdiff
path: root/spaghetti-monster/fsm-standby.c
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-standby.c
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 '')
-rw-r--r--spaghetti-monster/fsm-standby.c2
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