~toykeeper/flashlight-firmware/trunk

« back to all changes in this revision

Viewing changes to ToyKeeper/spaghetti-monster/fsm-wdt.h

  • Committer: Selene Scriven
  • Date: 2020-07-06 20:24:28 UTC
  • mfrom: (188.1.294 fsm)
  • Revision ID: bzr@toykeeper.net-20200706202428-7pyen2ow9q2rtd9p
merged nearly a year of updates from the fsm branch, including the new product map

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
void WDT_on();
26
26
inline void WDT_off();
27
27
 
 
28
volatile uint8_t irq_wdt = 0;  // WDT interrupt happened?
 
29
 
28
30
#ifdef TICK_DURING_STANDBY
29
 
volatile uint8_t f_wdt = 0;
30
 
 
31
31
  #if defined(USE_INDICATOR_LED) || defined(USE_AUX_RGB_LEDS)
32
32
  // measure battery charge while asleep
33
33
  #define USE_SLEEP_LVP