Move RGBLED_NUM to data driven (#21278)
This commit is contained in:
@@ -27,10 +27,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
/* Locking resynchronize hack */
|
||||
#define LOCKING_RESYNC_ENABLE
|
||||
|
||||
/* ws2812 RGB LED */
|
||||
#ifdef RGBLIGHT_ENABLE
|
||||
#define RGBLED_NUM 18 // Number of LEDs */
|
||||
#endif
|
||||
/*
|
||||
* Feature disable options
|
||||
* These options are also useful to firmware size reduction.
|
||||
|
||||
@@ -17,6 +17,9 @@
|
||||
"pin": "B5",
|
||||
"levels": 9
|
||||
},
|
||||
"rgblight": {
|
||||
"led_count": 18
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "B5"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user