aboutsummaryrefslogtreecommitdiff
path: root/spaghetti-monster/fsm-states.h
diff options
context:
space:
mode:
Diffstat (limited to 'spaghetti-monster/fsm-states.h')
-rw-r--r--spaghetti-monster/fsm-states.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/spaghetti-monster/fsm-states.h b/spaghetti-monster/fsm-states.h
index f92abba..6e4a2a0 100644
--- a/spaghetti-monster/fsm-states.h
+++ b/spaghetti-monster/fsm-states.h
@@ -40,6 +40,8 @@ void _set_state(StatePtr new_state, uint16_t arg,
int8_t push_state(StatePtr new_state, uint16_t arg);
StatePtr pop_state();
uint8_t set_state(StatePtr new_state, uint16_t arg);
+#ifndef DONT_USE_DEFAULT_STATE
uint8_t default_state(EventPtr event, uint16_t arg);
+#endif
#endif