Move RGBLED_NUM to data driven (#21278)
This commit is contained in:
@@ -36,7 +36,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#define RGBLIGHT_EFFECT_RGB_TEST
|
||||
#define RGBLIGHT_EFFECT_ALTERNATING
|
||||
#define RGBLIGHT_EFFECT_TWINKLE
|
||||
#define RGBLED_NUM 20
|
||||
#define WS2812_SPI SPID2
|
||||
#define WS2812_SPI_MOSI_PAL_MODE 0
|
||||
#define WS2812_SPI_SCK_PAL_MODE 0
|
||||
|
||||
@@ -18,6 +18,9 @@
|
||||
"levels": 6,
|
||||
"breathing": true
|
||||
},
|
||||
"rgblight": {
|
||||
"led_count": 20
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "B15",
|
||||
"driver": "spi"
|
||||
|
||||
Reference in New Issue
Block a user