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

@@ -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

View File

@@ -6,6 +6,9 @@
"pid": "0xAA0C",
"device_version": "1.0.0"
},
"rgblight": {
"led_count": 1
},
"ws2812": {
"pin": "B5",
"driver": "pwm"