diff options
| author | XScorpion2 <rcalt2vt@gmail.com> | 2021-03-02 14:32:15 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-03-03 07:32:15 +1100 |
| commit | cde2859a6591b1274da20978bd158f20229faa88 (patch) | |
| tree | 181d3a637b661b0683282e412672e73efbf10f37 /tmk_core/common/chibios | |
| parent | 967d7c47dc90c2cc087fb68acb328cc6e3fca76a (diff) | |
| download | qmk_firmware-cde2859a6591b1274da20978bd158f20229faa88.tar.gz qmk_firmware-cde2859a6591b1274da20978bd158f20229faa88.zip | |
Split RGB Matrix (#11055)
* Split RGB Matrix
* Suspend State sync for rgb matrix
Diffstat (limited to 'tmk_core/common/chibios')
| -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) |
