diff options
| author | Selene ToyKeeper | 2019-08-05 01:44:30 -0600 |
|---|---|---|
| committer | Selene ToyKeeper | 2019-08-05 01:44:30 -0600 |
| commit | 24f290888e4132e8f67989de3fa42f492dc5bb8b (patch) | |
| tree | f82fd0f22b3a979c1a63e1dcb21ee253cc67335b /spaghetti-monster/fsm-wdt.h | |
| parent | replaced deprecated avr-size with avr-objdump in build.sh (diff) | |
| parent | merged a sanitized copy of the Emisar D4v2 branch; history summarized below: (diff) | |
| download | anduril-24f290888e4132e8f67989de3fa42f492dc5bb8b.tar.gz anduril-24f290888e4132e8f67989de3fa42f492dc5bb8b.tar.bz2 anduril-24f290888e4132e8f67989de3fa42f492dc5bb8b.zip | |
merged Emisar D4v2 branch, or at least a sanitized version of it
Diffstat (limited to 'spaghetti-monster/fsm-wdt.h')
| -rw-r--r-- | spaghetti-monster/fsm-wdt.h | 5 |
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 |
