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/planck/light/config.h | 4 ---- keyboards/planck/light/info.json | 3 +++ 2 files changed, 3 insertions(+), 4 deletions(-) (limited to 'keyboards/planck/light') diff --git a/keyboards/planck/light/config.h b/keyboards/planck/light/config.h index 862751d6b6..7a64f87174 100644 --- a/keyboards/planck/light/config.h +++ b/keyboards/planck/light/config.h @@ -12,10 +12,6 @@ #define AUDIO_PIN C6 #define AUDIO_PIN_ALT B5 -#undef BACKLIGHT_PIN - -#define BACKLIGHT_PIN A5 - #define NO_USB_STARTUP_CHECK #define PLANCK_MIT_LAYOUT diff --git a/keyboards/planck/light/info.json b/keyboards/planck/light/info.json index ed23c14828..c2ab19563e 100644 --- a/keyboards/planck/light/info.json +++ b/keyboards/planck/light/info.json @@ -8,6 +8,9 @@ "pid": "0xBEA2", "device_version": "0.0.1" }, + "backlight": { + "pin": "A5" + }, "processor": "at90usb1286", "bootloader": "atmel-dfu", "community_layouts": ["ortho_4x12", "planck_mit"], -- cgit v1.2.3