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/preonic/config.h | 2 -- keyboards/preonic/rev1/info.json | 3 +++ keyboards/preonic/rev2/info.json | 3 +++ 3 files changed, 6 insertions(+), 2 deletions(-) (limited to 'keyboards/preonic') diff --git a/keyboards/preonic/config.h b/keyboards/preonic/config.h index 494c15c516..c3a49487ef 100644 --- a/keyboards/preonic/config.h +++ b/keyboards/preonic/config.h @@ -25,8 +25,6 @@ along with this program. If not, see . #define AUDIO_VOICES #define AUDIO_PIN C6 -#define BACKLIGHT_PIN B7 - /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION COL2ROW diff --git a/keyboards/preonic/rev1/info.json b/keyboards/preonic/rev1/info.json index 6da254960b..340c178635 100644 --- a/keyboards/preonic/rev1/info.json +++ b/keyboards/preonic/rev1/info.json @@ -6,6 +6,9 @@ "pid": "0x67F3", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7" + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "community_layouts": ["ortho_5x12"] diff --git a/keyboards/preonic/rev2/info.json b/keyboards/preonic/rev2/info.json index 4392f2e964..3da1615c2d 100644 --- a/keyboards/preonic/rev2/info.json +++ b/keyboards/preonic/rev2/info.json @@ -6,6 +6,9 @@ "pid": "0x67F3", "device_version": "0.0.2" }, + "backlight": { + "pin": "B7" + }, "qmk_lufa_bootloader": { "esc_input": "B5", "esc_output": "F1", -- cgit v1.2.3