diff options
Diffstat (limited to 'tmk_core/common/chibios/suspend.c')
-rw-r--r-- | tmk_core/common/chibios/suspend.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tmk_core/common/chibios/suspend.c b/tmk_core/common/chibios/suspend.c index 49e20641f..17f024cab 100644 --- a/tmk_core/common/chibios/suspend.c +++ b/tmk_core/common/chibios/suspend.c | |||
@@ -24,6 +24,10 @@ | |||
24 | # include "rgblight.h" | 24 | # include "rgblight.h" |
25 | #endif | 25 | #endif |
26 | 26 | ||
27 | #ifdef RGB_MATRIX_ENABLE | ||
28 | # include "rgb_matrix.h" | ||
29 | #endif | ||
30 | |||
27 | /** \brief suspend idle | 31 | /** \brief suspend idle |
28 | * | 32 | * |
29 | * FIXME: needs doc | 33 | * FIXME: needs doc |
@@ -53,6 +57,10 @@ void suspend_power_down(void) { | |||
53 | backlight_set(0); | 57 | backlight_set(0); |
54 | #endif | 58 | #endif |
55 | 59 | ||
60 | #ifdef RGB_MATRIX_ENABLE | ||
61 | rgb_matrix_task(); | ||
62 | #endif | ||
63 | |||
56 | // Turn off LED indicators | 64 | // Turn off LED indicators |
57 | uint8_t leds_off = 0; | 65 | uint8_t leds_off = 0; |
58 | #if defined(BACKLIGHT_CAPS_LOCK) && defined(BACKLIGHT_ENABLE) | 66 | #if defined(BACKLIGHT_CAPS_LOCK) && defined(BACKLIGHT_ENABLE) |