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 /drivers/led | |
parent | 3c7e9a6827660885a5c0b7ba1135d3f23a3b4cea (diff) |
Rename `RGBLED_NUM` -> `RGBLIGHT_LED_COUNT` (#22570)
Diffstat (limited to 'drivers/led')
-rw-r--r-- | drivers/led/apa102.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/led/apa102.h b/drivers/led/apa102.h index 027221f434..e3b269883d 100644 --- a/drivers/led/apa102.h +++ b/drivers/led/apa102.h @@ -19,9 +19,9 @@ #include "color.h" -#if defined(RGBLED_NUM) -# define APA102_LED_COUNT RGBLED_NUM -#elif defined(RGB_MATRIX_LED_COUNT) +#if defined(RGBLIGHT_APA102) +# define APA102_LED_COUNT RGBLIGHT_LED_COUNT +#elif defined(RGB_MATRIX_APA102) # define APA102_LED_COUNT RGB_MATRIX_LED_COUNT #endif |