summaryrefslogtreecommitdiffstats
path: root/quantum/led_matrix_drivers.c
diff options
context:
space:
mode:
Diffstat (limited to 'quantum/led_matrix_drivers.c')
-rw-r--r--quantum/led_matrix_drivers.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/quantum/led_matrix_drivers.c b/quantum/led_matrix_drivers.c
index e0f8b20949..21e8a14c66 100644
--- a/quantum/led_matrix_drivers.c
+++ b/quantum/led_matrix_drivers.c
@@ -64,7 +64,8 @@ static void init(void) {
IS31FL3733_init(LED_DRIVER_ADDR_4);
#endif
#endif
- for (int index = 0; index < LED_DRIVER_COUNT; index++) {
+
+ for (int index = 0; index < LED_DRIVER_LED_COUNT; index++) {
#ifdef IS31FL3731
IS31FL3731_set_led_control_register(index, true);
#else