X-Git-Url: https://git.gir.st/tmk_keyboard.git/blobdiff_plain/79cfa894afbc0a94ac642f57de905d9afc068ce7..9818d54d26e2900bf91b288bc6f268adc8e0b8fd:/tmk_core/common/avr/suspend.c diff --git a/tmk_core/common/avr/suspend.c b/tmk_core/common/avr/suspend.c index 80243f02..580d69e4 100644 --- a/tmk_core/common/avr/suspend.c +++ b/tmk_core/common/avr/suspend.c @@ -85,6 +85,8 @@ void suspend_power_down(void) power_down(WDTO_15MS); } +__attribute__ ((weak)) void matrix_power_up(void) {} +__attribute__ ((weak)) void matrix_power_down(void) {} bool suspend_wakeup_condition(void) { matrix_power_up(); @@ -100,6 +102,7 @@ bool suspend_wakeup_condition(void) void suspend_wakeup_init(void) { // clear keyboard state + matrix_init(); clear_keyboard(); #ifdef BACKLIGHT_ENABLE backlight_init();