summaryrefslogtreecommitdiff
path: root/tmk_core/common/avr/suspend.c
diff options
context:
space:
mode:
authorStephan Bösebeck <stephan.boesebeck@holidayinsider.com>2016-03-29 07:49:54 +0200
committerStephan Bösebeck <stephan.boesebeck@holidayinsider.com>2016-03-29 07:49:54 +0200
commitf7f4f1725e3d9551c8b7660475ef076bcb8ecbf2 (patch)
treed3143b31c85d0711324e0c6b6be41e12ac42653e /tmk_core/common/avr/suspend.c
parent37e68596ddefcaa9ac0289a8e17672804e475327 (diff)
parent8bbc1dcf4f52ecd675f23a9b7d4b4d812dd3ee79 (diff)
Merge branch 'master' of https://github.com/jackhumbert/qmk_firmware
Diffstat (limited to 'tmk_core/common/avr/suspend.c')
-rw-r--r--tmk_core/common/avr/suspend.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/tmk_core/common/avr/suspend.c b/tmk_core/common/avr/suspend.c
index caf0b06254..c07c2801d5 100644
--- a/tmk_core/common/avr/suspend.c
+++ b/tmk_core/common/avr/suspend.c
@@ -66,9 +66,12 @@ static void power_down(uint8_t wdto)
wdt_intr_enable(wdto);
#ifdef BACKLIGHT_ENABLE
-backlight_set(0);
+ backlight_set(0);
#endif
+ // Turn off LED indicators
+ led_set(0);
+
// TODO: more power saving
// See PicoPower application note
// - I/O port input with pullup