diff options
author | Ryan <fauxpark@gmail.com> | 2021-04-13 19:51:03 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-13 19:51:03 +1000 |
commit | ce99f98bb5217ede628cfbf7e20924346b4279da (patch) | |
tree | 20079e250b26339964ff3eb9c588d35474cbe8c5 /tmk_core/common/chibios | |
parent | 15f7cc3bde0199afe3b49718fa7b73bc6771e04b (diff) |
LED Matrix: suspend code (#12509)
Diffstat (limited to 'tmk_core/common/chibios')
-rw-r--r-- | tmk_core/common/chibios/suspend.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tmk_core/common/chibios/suspend.c b/tmk_core/common/chibios/suspend.c index 17f024caba..b3949185e9 100644 --- a/tmk_core/common/chibios/suspend.c +++ b/tmk_core/common/chibios/suspend.c @@ -24,6 +24,9 @@ # include "rgblight.h" #endif +#ifdef LED_MATRIX_ENABLE +# include "led_matrix.h" +#endif #ifdef RGB_MATRIX_ENABLE # include "rgb_matrix.h" #endif @@ -57,6 +60,9 @@ void suspend_power_down(void) { backlight_set(0); #endif +#ifdef LED_MATRIX_ENABLE + led_matrix_task(); +#endif #ifdef RGB_MATRIX_ENABLE rgb_matrix_task(); #endif |