aboutsummaryrefslogtreecommitdiff
path: root/fsm/wdt.h
diff options
context:
space:
mode:
Diffstat (limited to 'fsm/wdt.h')
-rw-r--r--fsm/wdt.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/fsm/wdt.h b/fsm/wdt.h
index abf34c5..98eaf25 100644
--- a/fsm/wdt.h
+++ b/fsm/wdt.h
@@ -6,8 +6,11 @@
#define TICKS_PER_SECOND 62
-void WDT_on();
-inline void WDT_off();
+//void WDT_on();
+//inline void WDT_off();
+#define WDT_on mcu_wdt_active
+#define WDT_slow mcu_wdt_standby
+#define WDT_off mcu_wdt_stop
volatile uint8_t irq_wdt = 0; // WDT interrupt happened?