Split RGB Matrix (#11055)
* Split RGB Matrix * Suspend State sync for rgb matrix
This commit is contained in:
parent
967d7c47dc
commit
cde2859a65
8 changed files with 86 additions and 10 deletions
|
@ -24,6 +24,10 @@
|
|||
# include "rgblight.h"
|
||||
#endif
|
||||
|
||||
#ifdef RGB_MATRIX_ENABLE
|
||||
# include "rgb_matrix.h"
|
||||
#endif
|
||||
|
||||
/** \brief suspend idle
|
||||
*
|
||||
* FIXME: needs doc
|
||||
|
@ -53,6 +57,10 @@ void suspend_power_down(void) {
|
|||
backlight_set(0);
|
||||
#endif
|
||||
|
||||
#ifdef RGB_MATRIX_ENABLE
|
||||
rgb_matrix_task();
|
||||
#endif
|
||||
|
||||
// Turn off LED indicators
|
||||
uint8_t leds_off = 0;
|
||||
#if defined(BACKLIGHT_CAPS_LOCK) && defined(BACKLIGHT_ENABLE)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue