1
0
Fork 0

Rename RGBLED_NUM -> RGBLIGHT_LED_COUNT (#22570)

This commit is contained in:
Ryan 2023-12-12 15:30:08 +11:00 committed by GitHub
parent 3c7e9a6827
commit e648155113
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
90 changed files with 254 additions and 263 deletions

View file

@ -16,6 +16,12 @@
#pragma once
// DEPRECATED DEFINES - DO NOT USE
#if defined(RGBLED_NUM)
# define RGBLIGHT_LED_COUNT RGBLED_NUM
#endif
// ========
/***** rgblight_mode(mode)/rgblight_mode_noeeprom(mode) ****
old mode number (before 0.6.117) to new mode name table
@ -234,7 +240,7 @@ void rgblight_unblink_all_but_layer(uint8_t layer);
#endif
extern rgb_led_t led[RGBLED_NUM];
extern rgb_led_t led[RGBLIGHT_LED_COUNT];
extern const uint8_t RGBLED_BREATHING_INTERVALS[4] PROGMEM;
extern const uint8_t RGBLED_RAINBOW_MOOD_INTERVALS[3] PROGMEM;