1
0
Fork 0

Split RGB Matrix (#11055)

* Split RGB Matrix

* Suspend State sync for rgb matrix
This commit is contained in:
XScorpion2 2021-03-02 14:32:15 -06:00 committed by GitHub
parent 967d7c47dc
commit cde2859a65
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 86 additions and 10 deletions

View file

@ -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)