Move backlight config to data driven (#19910)
This commit is contained in:
@@ -50,12 +50,8 @@
|
||||
#define I2C1_TIMINGR_SCLL 9U
|
||||
|
||||
// LED defines
|
||||
#define BACKLIGHT_PIN B5
|
||||
#define BACKLIGHT_PWM_DRIVER PWMD3
|
||||
#define BACKLIGHT_PWM_CHANNEL 2
|
||||
#define BACKLIGHT_PAL_MODE 1
|
||||
|
||||
#define BACKLIGHT_LEVELS 6
|
||||
#define BACKLIGHT_BREATHING
|
||||
|
||||
#define SLEEP_LED_GPT_DRIVER GPTD1
|
||||
|
@@ -7,6 +7,11 @@
|
||||
"pid": "0xA652",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"backlight": {
|
||||
"pin": "B5",
|
||||
"levels": 6,
|
||||
"breathing": true
|
||||
},
|
||||
"processor": "STM32F072",
|
||||
"bootloader": "stm32-dfu",
|
||||
"diode_direction": "COL2ROW",
|
||||
|
Reference in New Issue
Block a user