summaryrefslogtreecommitdiff
path: root/tmk_core/common/avr
diff options
context:
space:
mode:
authorJack Humbert <jack.humb@gmail.com>2016-03-28 23:17:16 -0400
committerJack Humbert <jack.humb@gmail.com>2016-03-28 23:17:16 -0400
commit8bbc1dcf4f52ecd675f23a9b7d4b4d812dd3ee79 (patch)
treeabd8b4fcd545d247736347c8b5e31a28ef9688b4 /tmk_core/common/avr
parent1f86e8da090b2f085f40f4f5d034fc23ffe1e8f9 (diff)
parent1d13aa933bbb57bf0c1fe0196981b81233c3df97 (diff)
downloadqmk_firmware-8bbc1dcf4f52ecd675f23a9b7d4b4d812dd3ee79.tar.gz
qmk_firmware-8bbc1dcf4f52ecd675f23a9b7d4b4d812dd3ee79.zip
Merge pull request #219 from IBNobody/master
Master
Diffstat (limited to 'tmk_core/common/avr')
-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