Ryan
5 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
6 additions and
0 deletions
-
drivers/led/apa102.h
|
|
@ -19,6 +19,12 @@ |
|
|
|
|
|
|
|
#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 |
|
|
|
# define APA102_DEFAULT_BRIGHTNESS 31 |
|
|
|
#endif |
|
|
|