aboutsummaryrefslogtreecommitdiff
path: root/spaghetti-monster/fsm-main.c
diff options
context:
space:
mode:
Diffstat (limited to 'spaghetti-monster/fsm-main.c')
-rw-r--r--spaghetti-monster/fsm-main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/spaghetti-monster/fsm-main.c b/spaghetti-monster/fsm-main.c
index 1a0c425..ae63126 100644
--- a/spaghetti-monster/fsm-main.c
+++ b/spaghetti-monster/fsm-main.c
@@ -88,6 +88,10 @@ int main() {
// fallback for handling a few things
push_state(default_state, 0);
+ // in case any spurious button presses were detected at boot
+ delay_ms(1);
+ empty_event_sequence();
+
// call recipe's setup
setup();