summaryrefslogtreecommitdiffstats
path: root/tmk_core/common/avr/suspend.c
diff options
context:
space:
mode:
authorChristopher Browne <cbbrowne@ca.afilias.info>2016-03-30 13:14:01 -0400
committerChristopher Browne <cbbrowne@ca.afilias.info>2016-03-30 13:14:01 -0400
commit5bbcc484a8e14ffb13354df4efdd460ebe7200e1 (patch)
tree65b0a4c4e659b60038ec63706c46fb21de153598 /tmk_core/common/avr/suspend.c
parent95a88c09e18a7531a64838ceaa52df37bad8dc0d (diff)
parentae47275bf34549a0f66cb2f37daca299fd4ecdee (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