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.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/spaghetti-monster/fsm-wdt.h b/spaghetti-monster/fsm-wdt.h
index 3c395c1..78fe791 100644
--- a/spaghetti-monster/fsm-wdt.h
+++ b/spaghetti-monster/fsm-wdt.h
@@ -27,6 +27,11 @@ inline void WDT_off();
#ifdef TICK_DURING_STANDBY
volatile uint8_t f_wdt = 0;
+
+ #if defined(USE_INDICATOR_LED) || defined(USE_AUX_RGB_LEDS)
+ // measure battery charge while asleep
+ #define USE_SLEEP_LVP
+ #endif
#endif
#endif