summaryrefslogtreecommitdiffstats
path: root/keyboards/keyboardio/model01/leds.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/keyboardio/model01/leds.c')
-rw-r--r--keyboards/keyboardio/model01/leds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/keyboards/keyboardio/model01/leds.c b/keyboards/keyboardio/model01/leds.c
index 0308887d3b..7e65134bd4 100644
--- a/keyboards/keyboardio/model01/leds.c
+++ b/keyboards/keyboardio/model01/leds.c
@@ -89,7 +89,7 @@ static void set_color(int index, uint8_t r, uint8_t g, uint8_t b) {
}
static void set_color_all(uint8_t r, uint8_t g, uint8_t b) {
- for (int i=0; i<DRIVER_LED_TOTAL; i++)
+ for (int i=0; i<RGB_MATRIX_LED_COUNT; i++)
set_color(i, r, g, b);
}