Move backlight config to data driven (#19910)

This commit is contained in:
Ryan
2023-02-26 08:37:57 +11:00
committed by GitHub
parent ba7546a334
commit 314f6c1ddb
1003 changed files with 1873 additions and 1684 deletions

View File

@@ -6,8 +6,6 @@
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE
#define BACKLIGHT_LEVELS 8
// ws2812 options
#define RGB_DI_PIN D2 // pin the DI on the ws2812 is hooked-up to
#define RGBLED_NUM 8 // number of LEDs

View File

@@ -8,7 +8,8 @@
"pid": "0x2171"
},
"backlight": {
"pins": ["D1", "D0", "D4", "C6", "D7", "E6", "B4", "B5"]
"pins": ["D1", "D0", "D4", "C6", "D7", "E6", "B4", "B5"],
"levels": 8
},
"processor": "atmega32u4",
"bootloader": "caterina",