Move backlight config to data driven, part 1 (#19887)

This commit is contained in:
Ryan 2023-02-21 12:05:40 +11:00 committed by GitHub
parent 4b69225c22
commit 9c0ce80d7e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
128 changed files with 110 additions and 131 deletions

View file

@ -6,9 +6,6 @@
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE
#define BACKLIGHT_LED_COUNT 8
#undef BACKLIGHT_PIN
#define BACKLIGHT_PINS { D1, D0, D4, C6, D7, E6, B4, B5 }
#define BACKLIGHT_LEVELS 8
// ws2812 options

View file

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