Rename RGBLED_NUM
-> RGBLIGHT_LED_COUNT
(#22570)
This commit is contained in:
parent
3c7e9a6827
commit
e648155113
90 changed files with 254 additions and 263 deletions
|
@ -90,7 +90,7 @@ static void setupForFlashing(void) {
|
|||
// Set alternating backlight colors
|
||||
const uint8_t max = 20;
|
||||
rgblight_mode_noeeprom(RGBLIGHT_MODE_STATIC_LIGHT);
|
||||
for (size_t i = 0; i < RGBLED_NUM; ++i) {
|
||||
for (size_t i = 0; i < RGBLIGHT_LED_COUNT; ++i) {
|
||||
rgb_led_t *led_ = (rgb_led_t *)&led[i];
|
||||
switch (i % 2) {
|
||||
case 0:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue