|
|
|
@ -399,7 +399,8 @@ void suspend_wakeup_init_keymap(void) {
|
|
|
|
|
rgb_matrix_set_suspend_state(false);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void rgb_matrix_layer_helper (uint8_t red, uint8_t green, uint8_t blue, bool default_layer) {
|
|
|
|
|
extern led_config_t g_led_config;
|
|
|
|
|
void rgb_matrix_layer_helper (uint8_t red, uint8_t green, uint8_t blue) {
|
|
|
|
|
for (int i = 0; i < DRIVER_LED_TOTAL; i++) {
|
|
|
|
|
if (HAS_FLAGS(g_led_config.flags[i], LED_FLAG_MODIFIER)) {
|
|
|
|
|
rgb_matrix_set_color( i, red, green, blue );
|
|
|
|
|