aboutsummaryrefslogtreecommitdiff
path: root/spaghetti-monster/fsm-wdt.h
diff options
context:
space:
mode:
Diffstat (limited to 'spaghetti-monster/fsm-wdt.h')
-rw-r--r--spaghetti-monster/fsm-wdt.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/spaghetti-monster/fsm-wdt.h b/spaghetti-monster/fsm-wdt.h
index 74851af..1173382 100644
--- a/spaghetti-monster/fsm-wdt.h
+++ b/spaghetti-monster/fsm-wdt.h
@@ -25,4 +25,8 @@
void WDT_on();
inline void WDT_off();
+#ifdef USE_HALFSLEEP_MODE
+volatile uint8_t f_wdt = 0;
+#endif
+
#endif