From: IBNobody Date: Mon, 28 Mar 2016 21:21:09 +0000 (-0500) Subject: Added command to turn LED indicators off while sleeping X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=a70f43967283498dc01cbfc534819ac9da80f10b;p=qmk_firmware.git Added command to turn LED indicators off while sleeping --- diff --git a/tmk_core/common/avr/suspend.c b/tmk_core/common/avr/suspend.c index caf0b0625..c07c2801d 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