summaryrefslogtreecommitdiffstats
path: root/keyboards/handwired/dygma/raise/leds.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/handwired/dygma/raise/leds.c')
-rw-r--r--keyboards/handwired/dygma/raise/leds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/keyboards/handwired/dygma/raise/leds.c b/keyboards/handwired/dygma/raise/leds.c
index 64f03d722a..53fa389206 100644
--- a/keyboards/handwired/dygma/raise/leds.c
+++ b/keyboards/handwired/dygma/raise/leds.c
@@ -61,7 +61,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++) set_color(i, r, g, b);
+ for (int i = 0; i < RGB_MATRIX_LED_COUNT; i++) set_color(i, r, g, b);
}
static void init(void) {