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

@@ -7,6 +7,10 @@
"pid": "0x0404",
"device_version": "0.0.1"
},
"backlight": {
"pin": "D5",
"levels": 6
},
"processor": "atmega16u2",
"bootloader": "atmel-dfu",
"matrix_pins": {

View File

@@ -23,11 +23,6 @@ where some things are disabled to save space as well.
#pragma once
/* Backlight Setup */
// Looks like each backlight LED is connected to a single output, D5 is the one furtherst away from USB port
#define BACKLIGHT_PIN D5
#define BACKLIGHT_LEVELS 6
/* RGB Underglow
This will not be used, as RGBLIGHT_ENABLE is set to 'no' in rules.mk
We do not have enough space in the flash for this at the moment, maybe