Move RGBLED_NUM to data driven (#21278)
This commit is contained in:
@@ -17,8 +17,6 @@
|
||||
|
||||
#ifdef RGBLIGHT_ENABLE
|
||||
|
||||
# define RGBLED_NUM 1
|
||||
|
||||
# define RGBLIGHT_LAYERS
|
||||
# define RGBLIGHT_LAYERS_OVERRIDE_RGB_OFF
|
||||
# define RGBLIGHT_LAYERS_RETAIN_VAL
|
||||
|
||||
@@ -6,6 +6,9 @@
|
||||
"pid": "0xAA0C",
|
||||
"device_version": "1.0.0"
|
||||
},
|
||||
"rgblight": {
|
||||
"led_count": 1
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "B5",
|
||||
"driver": "pwm"
|
||||
|
||||
Reference in New Issue
Block a user