summaryrefslogtreecommitdiff
path: root/keyboards/yanghu/unicorne
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-03-26 18:22:12 +1100
committerGitHub <noreply@github.com>2023-03-26 18:22:12 +1100
commit36ce81df592ca8e9f9fed498e513437aa1cae54f (patch)
tree5d1eb5bec831a7037d97b43babfee78c6fbf47cb /keyboards/yanghu/unicorne
parent7e54defa20bd6a4f199fb1da0f25e83f0d55bf25 (diff)
Move `WS2812_DRIVER` to data driven (#20248)
Diffstat (limited to 'keyboards/yanghu/unicorne')
-rw-r--r--keyboards/yanghu/unicorne/info.json3
-rw-r--r--keyboards/yanghu/unicorne/rules.mk1
2 files changed, 3 insertions, 1 deletions
diff --git a/keyboards/yanghu/unicorne/info.json b/keyboards/yanghu/unicorne/info.json
index 017f4445b8..3365ea7cf5 100644
--- a/keyboards/yanghu/unicorne/info.json
+++ b/keyboards/yanghu/unicorne/info.json
@@ -8,6 +8,9 @@
"pid": "0x0204",
"device_version": "0.0.1"
},
+ "ws2812": {
+ "driver": "pwm"
+ },
"matrix_pins": {
"cols": ["A14", "A15", "B13", "B14", "B15", "A13", "A0", "A1", "A2", "A3", "A6", "A7"],
"rows": ["B9", "B8", "A10", "A9"]
diff --git a/keyboards/yanghu/unicorne/rules.mk b/keyboards/yanghu/unicorne/rules.mk
index 8968fb940a..e07355aefa 100644
--- a/keyboards/yanghu/unicorne/rules.mk
+++ b/keyboards/yanghu/unicorne/rules.mk
@@ -14,7 +14,6 @@ ENCODER_ENABLE = yes
OLED_ENABLE = yes
OLED_DRIVER = SSD1306
-WS2812_DRIVER = pwm
AUDIO_DRIVER = pwm_hardware
RGB_MATRIX_ENABLE = no # Do not enable with RGBLIGHT