summaryrefslogtreecommitdiff
path: root/keyboards/1k/keymaps
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-12-12 15:30:08 +1100
committerGitHub <noreply@github.com>2023-12-12 15:30:08 +1100
commite64815511303584787b623c12ac8bab7dccb0034 (patch)
treed1096902ce4b467efb6e6e2886c8830ff27f3664 /keyboards/1k/keymaps
parent3c7e9a6827660885a5c0b7ba1135d3f23a3b4cea (diff)
Rename `RGBLED_NUM` -> `RGBLIGHT_LED_COUNT` (#22570)
Diffstat (limited to 'keyboards/1k/keymaps')
-rw-r--r--keyboards/1k/keymaps/default/rgblite.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/keyboards/1k/keymaps/default/rgblite.h b/keyboards/1k/keymaps/default/rgblite.h
index 29d684ac08..9a7761e30d 100644
--- a/keyboards/1k/keymaps/default/rgblite.h
+++ b/keyboards/1k/keymaps/default/rgblite.h
@@ -7,8 +7,8 @@
#include "color.h"
static inline void rgblite_setrgb(RGB rgb) {
- rgb_led_t leds[RGBLED_NUM] = {{.r = rgb.r, .g = rgb.g, .b = rgb.b}};
- ws2812_setleds(leds, RGBLED_NUM);
+ rgb_led_t leds[RGBLIGHT_LED_COUNT] = {{.r = rgb.r, .g = rgb.g, .b = rgb.b}};
+ ws2812_setleds(leds, RGBLIGHT_LED_COUNT);
}
static void rgblite_increase_hue(void) {