From 6b77dc4fd594b174a578654ab1b3861953f47eb5 Mon Sep 17 00:00:00 2001 From: Selene ToyKeeper Date: Sun, 27 Aug 2017 17:54:56 -0600 Subject: Added TICKS_PER_SECOND because it's handy to avoid hardcoding the WDT speed in UI code. --- spaghetti-monster/fsm-wdt.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'spaghetti-monster') diff --git a/spaghetti-monster/fsm-wdt.h b/spaghetti-monster/fsm-wdt.h index d7c64f5..74851af 100644 --- a/spaghetti-monster/fsm-wdt.h +++ b/spaghetti-monster/fsm-wdt.h @@ -20,6 +20,8 @@ #ifndef FSM_WDT_H #define FSM_WDT_H +#define TICKS_PER_SECOND 62 + void WDT_on(); inline void WDT_off(); -- cgit v1.2.3