Move RGBLED_NUM to data driven (#21278)

This commit is contained in:
Ryan
2023-06-18 14:39:07 +10:00
committed by GitHub
parent 7178645be7
commit b1783db4ea
2160 changed files with 2194 additions and 2058 deletions

View File

@@ -28,14 +28,6 @@
#define RGBLIGHT_EFFECT_ALTERNATING
#define RGBLIGHT_EFFECT_TWINKLE
#if !defined(RGBLED_NUM)
/* RGB LED count
* No external LED PCB: 10
* External LED PCB: 14
*/
# define RGBLED_NUM 14
#endif
/*
* Feature disable options
* These options are also useful to firmware size reduction.

View File

@@ -7,6 +7,9 @@
"pid": "0xA0A1",
"device_version": "0.0.1"
},
"rgblight": {
"led_count": 14
},
"ws2812": {
"pin": "D4"
},