Move RGBLED_NUM to data driven (#21278)
This commit is contained in:
@@ -27,7 +27,6 @@
|
||||
#define RGBLIGHT_EFFECT_RGB_TEST
|
||||
#define RGBLIGHT_EFFECT_ALTERNATING
|
||||
#define RGBLIGHT_EFFECT_TWINKLE
|
||||
#define RGBLED_NUM 24
|
||||
|
||||
//SPI
|
||||
#define WS2812_SPI SPID2
|
||||
|
||||
@@ -12,6 +12,9 @@
|
||||
"levels": 6,
|
||||
"breathing": true
|
||||
},
|
||||
"rgblight": {
|
||||
"led_count": 24
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "B15",
|
||||
"driver": "spi"
|
||||
|
||||
Reference in New Issue
Block a user