Fixed NO_SUSPEND_POWER_DOWN handling
parent
5893f0fa1f
commit
cf3926a8e1
|
@ -113,11 +113,6 @@ __attribute__ ((weak)) void matrix_power_up(void) {}
|
||||||
__attribute__ ((weak)) void matrix_power_down(void) {}
|
__attribute__ ((weak)) void matrix_power_down(void) {}
|
||||||
bool suspend_wakeup_condition(void)
|
bool suspend_wakeup_condition(void)
|
||||||
{
|
{
|
||||||
#ifdef BACKLIGHT_ENABLE
|
|
||||||
#ifndef NO_SUSPEND_POWER_DOWN
|
|
||||||
backlight_set(0);
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
matrix_power_up();
|
matrix_power_up();
|
||||||
matrix_scan();
|
matrix_scan();
|
||||||
matrix_power_down();
|
matrix_power_down();
|
||||||
|
|
Loading…
Reference in New Issue