diff options
author | Wilba6582 <Jason.S.Wiliams@gmail.com> | 2016-11-23 09:45:50 +0100 |
---|---|---|
committer | Wilba6582 <Jason.S.Wiliams@gmail.com> | 2016-11-23 09:45:50 +0100 |
commit | cf3926a8e13edb76193b8af25b497f9ef61161fd (patch) | |
tree | d426aa00833527e0c073630974496ea0bdbad83f | |
parent | 5893f0fa1fcecfface25ce570f37e51031a14489 (diff) | |
download | qmk_firmware-cf3926a8e13edb76193b8af25b497f9ef61161fd.tar.gz qmk_firmware-cf3926a8e13edb76193b8af25b497f9ef61161fd.tar.xz |
Fixed NO_SUSPEND_POWER_DOWN handling
-rw-r--r-- | tmk_core/common/avr/suspend.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/tmk_core/common/avr/suspend.c b/tmk_core/common/avr/suspend.c index 939bda15e..0c81e8361 100644 --- a/tmk_core/common/avr/suspend.c +++ b/tmk_core/common/avr/suspend.c @@ -113,11 +113,6 @@ __attribute__ ((weak)) void matrix_power_up(void) {} __attribute__ ((weak)) void matrix_power_down(void) {} bool suspend_wakeup_condition(void) { -#ifdef BACKLIGHT_ENABLE -#ifndef NO_SUSPEND_POWER_DOWN - backlight_set(0); -#endif -#endif matrix_power_up(); matrix_scan(); matrix_power_down(); @@ -135,7 +130,7 @@ void suspend_wakeup_init(void) #ifdef BACKLIGHT_ENABLE backlight_init(); #endif -led_set(host_keyboard_leds()); + led_set(host_keyboard_leds()); } #ifndef NO_SUSPEND_POWER_DOWN |