Move RGBLED_NUM to data driven (#21278)
This commit is contained in:
@@ -35,7 +35,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
#define EARLY_INIT_PERFORM_BOOTLOADER_JUMP TRUE
|
||||
|
||||
#define RGBLED_NUM 4
|
||||
#define RGBLIGHT_DEFAULT_VAL 0
|
||||
|
||||
#define WS2812_PWM_COMPLEMENTARY_OUTPUT
|
||||
|
||||
@@ -8,6 +8,9 @@
|
||||
"pid": "0x0877",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"rgblight": {
|
||||
"led_count": 4
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "B15",
|
||||
"driver": "pwm"
|
||||
|
||||
Reference in New Issue
Block a user