~ruther/qmk_firmware

a70f43967283498dc01cbfc534819ac9da80f10b — IBNobody 9 years ago 577971a
Added command to turn LED indicators off while sleeping
1 files changed, 4 insertions(+), 1 deletions(-)

M tmk_core/common/avr/suspend.c
M tmk_core/common/avr/suspend.c => tmk_core/common/avr/suspend.c +4 -1
@@ 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