From 314f6c1ddba09851b33e4f3b4bd43bdbc55f9628 Mon Sep 17 00:00:00 2001 From: Ryan Date: Sun, 26 Feb 2023 08:37:57 +1100 Subject: Move backlight config to data driven (#19910) --- keyboards/aeboards/ext65/rev2/config.h | 4 ---- keyboards/aeboards/ext65/rev2/info.json | 5 +++++ 2 files changed, 5 insertions(+), 4 deletions(-) (limited to 'keyboards/aeboards') diff --git a/keyboards/aeboards/ext65/rev2/config.h b/keyboards/aeboards/ext65/rev2/config.h index 364b919179..8f5625e2eb 100644 --- a/keyboards/aeboards/ext65/rev2/config.h +++ b/keyboards/aeboards/ext65/rev2/config.h @@ -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 diff --git a/keyboards/aeboards/ext65/rev2/info.json b/keyboards/aeboards/ext65/rev2/info.json index 7fbe7c2847..2939dc89ea 100644 --- a/keyboards/aeboards/ext65/rev2/info.json +++ b/keyboards/aeboards/ext65/rev2/info.json @@ -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", -- cgit v1.2.3