diff options
author | Ryan <fauxpark@gmail.com> | 2023-12-12 15:30:08 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-12 15:30:08 +1100 |
commit | e64815511303584787b623c12ac8bab7dccb0034 (patch) | |
tree | d1096902ce4b467efb6e6e2886c8830ff27f3664 /keyboards/ergodox_ez/led_i2c.c | |
parent | 3c7e9a6827660885a5c0b7ba1135d3f23a3b4cea (diff) |
Rename `RGBLED_NUM` -> `RGBLIGHT_LED_COUNT` (#22570)
Diffstat (limited to 'keyboards/ergodox_ez/led_i2c.c')
-rw-r--r-- | keyboards/ergodox_ez/led_i2c.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/keyboards/ergodox_ez/led_i2c.c b/keyboards/ergodox_ez/led_i2c.c index b82a12d67b..a8802858ec 100644 --- a/keyboards/ergodox_ez/led_i2c.c +++ b/keyboards/ergodox_ez/led_i2c.c @@ -31,7 +31,7 @@ void setleds_custom(rgb_led_t *led, uint16_t led_num) { // prevent right-half code from trying to bitbang all 30 // so with 30 LEDs, we count from 29 to 15 here, and the // other half does 0 to 14. - uint8_t half_led_num = RGBLED_NUM / 2; + uint8_t half_led_num = RGBLIGHT_LED_COUNT / 2; for (i = half_led_num + half_led_num - 1; i >= half_led_num; --i) # elif defined(ERGODOX_LED_15_MIRROR) for (i = 0; i < led_num; ++i) |