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/pearl/config.h | 2 -- keyboards/pearl/info.json | 3 +++ 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'keyboards/pearl') diff --git a/keyboards/pearl/config.h b/keyboards/pearl/config.h index d490e7e75b..51e4b85e74 100644 --- a/keyboards/pearl/config.h +++ b/keyboards/pearl/config.h @@ -29,8 +29,6 @@ along with this program. If not, see . #define RGBLIGHT_EFFECT_TWINKLE #define RGBLED_NUM 12 -#define BACKLIGHT_PIN D4 - #define MATRIX_ROW_PINS { B0, B1, B2, B3 } #define MATRIX_COL_PINS { A0, A1, A2, A3, A4, A5, A6, A7, C7, C6, C5, C4, C3} diff --git a/keyboards/pearl/info.json b/keyboards/pearl/info.json index 3808bdecf4..96357ad346 100644 --- a/keyboards/pearl/info.json +++ b/keyboards/pearl/info.json @@ -7,6 +7,9 @@ "pid": "0x0348", "device_version": "2.0.0" }, + "backlight": { + "pin": "D4" + }, "indicators": { "caps_lock": "D1", "num_lock": "D0", -- cgit v1.2.3