summaryrefslogtreecommitdiff
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 3f6037cbfa..4ff87ca941 100644
--- a/keyboards/handwired/dygma/raise/leds.c
+++ b/keyboards/handwired/dygma/raise/leds.c
@@ -71,7 +71,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) {}