summaryrefslogtreecommitdiffstats
path: root/keyboards/planck/light
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-02-26 08:37:57 +1100
committerGitHub <noreply@github.com>2023-02-26 08:37:57 +1100
commit314f6c1ddba09851b33e4f3b4bd43bdbc55f9628 (patch)
tree8d0008ee0609b42ffbcbe19e52c3695ea5ab9280 /keyboards/planck/light
parentba7546a334ec56e70629652e8552dd493449e9db (diff)
Move backlight config to data driven (#19910)
Diffstat (limited to 'keyboards/planck/light')
-rw-r--r--keyboards/planck/light/config.h4
-rw-r--r--keyboards/planck/light/info.json3
2 files changed, 3 insertions, 4 deletions
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"],