mirror of
https://github.com/qmk/qmk_firmware.git
synced 2024-11-25 12:46:41 +00:00
Add APA102_LED_COUNT
define (#22530)
This commit is contained in:
parent
2886c335a0
commit
099eaefb40
@ -19,6 +19,12 @@
|
|||||||
|
|
||||||
#include "color.h"
|
#include "color.h"
|
||||||
|
|
||||||
|
#if defined(RGBLED_NUM)
|
||||||
|
# define APA102_LED_COUNT RGBLED_NUM
|
||||||
|
#elif defined(RGB_MATRIX_LED_COUNT)
|
||||||
|
# define APA102_LED_COUNT RGB_MATRIX_LED_COUNT
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef APA102_DEFAULT_BRIGHTNESS
|
#ifndef APA102_DEFAULT_BRIGHTNESS
|
||||||
# define APA102_DEFAULT_BRIGHTNESS 31
|
# define APA102_DEFAULT_BRIGHTNESS 31
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user