Move backlight config to data driven (#19910)
This commit is contained in:
@@ -25,11 +25,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
|
||||
#define BACKLIGHT_PIN A10
|
||||
#define BACKLIGHT_PWM_DRIVER PWMD1
|
||||
#define BACKLIGHT_PWM_CHANNEL 3
|
||||
#define BACKLIGHT_PAL_MODE 1
|
||||
#define BACKLIGHT_LEVELS 20
|
||||
|
||||
#define I2C_DRIVER I2CD1
|
||||
#define I2C_SCL_PIN B6
|
||||
|
@@ -8,6 +8,10 @@
|
||||
"pid": "0x2D33",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"backlight": {
|
||||
"pin": "A10",
|
||||
"levels": 20
|
||||
},
|
||||
"processor": "STM32F401",
|
||||
"bootloader": "stm32-dfu",
|
||||
"layouts": {
|
||||
|
@@ -13,7 +13,6 @@ LTO_ENABLE = no
|
||||
ENCODER_ENABLE = no
|
||||
|
||||
BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
|
||||
BACKLIGHT_DRIVER = pwm
|
||||
|
||||
EEPROM_DRIVER = i2c
|
||||
|
||||
|
Reference in New Issue
Block a user