mirror of
https://github.com/qmk/qmk_firmware
synced 2024-11-13 15:35:27 +00:00
Added command to turn LED indicators off while sleeping
This commit is contained in:
parent
577971ab07
commit
a70f439672
1 changed files with 4 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue