diff options
author | Ryan <fauxpark@gmail.com> | 2023-12-19 07:13:08 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-18 20:13:08 +0000 |
commit | b9e81c06911a4e3345acf09cd499a9661eea67b8 (patch) | |
tree | 40563c20998af731c5beea0982f4b8ba8a3218e4 /quantum | |
parent | 62db54dc32e9190785774117b48284a32c9892ca (diff) |
Update keyboard LED driver configs (#22638)
Diffstat (limited to 'quantum')
-rw-r--r-- | quantum/rgb_matrix/rgb_matrix_drivers.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/quantum/rgb_matrix/rgb_matrix_drivers.c b/quantum/rgb_matrix/rgb_matrix_drivers.c index e7bed0bf72..ef12434aa2 100644 --- a/quantum/rgb_matrix/rgb_matrix_drivers.c +++ b/quantum/rgb_matrix/rgb_matrix_drivers.c @@ -107,7 +107,7 @@ const rgb_matrix_driver_t rgb_matrix_driver = { # endif // LED color buffer -rgb_led_t rgb_matrix_ws2812_array[RGB_MATRIX_LED_COUNT]; +rgb_led_t rgb_matrix_ws2812_array[WS2812_LED_COUNT]; bool ws2812_dirty = false; static void init(void) { @@ -116,7 +116,7 @@ static void init(void) { static void flush(void) { if (ws2812_dirty) { - ws2812_setleds(rgb_matrix_ws2812_array, RGB_MATRIX_LED_COUNT); + ws2812_setleds(rgb_matrix_ws2812_array, WS2812_LED_COUNT); ws2812_dirty = false; } } |