|
|
@ -66,9 +66,12 @@ static void power_down(uint8_t wdto)
|
|
|
|
wdt_intr_enable(wdto);
|
|
|
|
wdt_intr_enable(wdto);
|
|
|
|
|
|
|
|
|
|
|
|
#ifdef BACKLIGHT_ENABLE
|
|
|
|
#ifdef BACKLIGHT_ENABLE
|
|
|
|
backlight_set(0);
|
|
|
|
backlight_set(0);
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Turn off LED indicators
|
|
|
|
|
|
|
|
led_set(0);
|
|
|
|
|
|
|
|
|
|
|
|
// TODO: more power saving
|
|
|
|
// TODO: more power saving
|
|
|
|
// See PicoPower application note
|
|
|
|
// See PicoPower application note
|
|
|
|
// - I/O port input with pullup
|
|
|
|
// - I/O port input with pullup
|
|
|
|