mirror of
https://github.com/qmk/qmk_userspace.git
synced 2025-05-05 15:14:17 -04:00
Migrate RGB Matrix config to info.json - XZY (#22879)
This commit is contained in:
parent
6eb2ed9dc9
commit
b5eb486506
1 changed files with 1 additions and 1 deletions
|
@ -102,7 +102,7 @@ bool rgb_matrix_indicators_user(void) {
|
||||||
#if defined(RGB_MATRIX_ENABLE)
|
#if defined(RGB_MATRIX_ENABLE)
|
||||||
|
|
||||||
#define INDICATOR_RGB_DIVISOR 4
|
#define INDICATOR_RGB_DIVISOR 4
|
||||||
extern rgb_led_t rgb_matrix_ws2812_array[DRIVER_LED_TOTAL];
|
extern rgb_led_t rgb_matrix_ws2812_array[WS2812_LED_COUNT];
|
||||||
bool rgb_matrix_indicators_advanced_user(uint8_t led_min, uint8_t led_max) {
|
bool rgb_matrix_indicators_advanced_user(uint8_t led_min, uint8_t led_max) {
|
||||||
for (uint8_t i = led_min; i < led_max; i++) {
|
for (uint8_t i = led_min; i < led_max; i++) {
|
||||||
if (g_led_config.flags[i] & LED_FLAG_INDICATOR) {
|
if (g_led_config.flags[i] & LED_FLAG_INDICATOR) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue