summaryrefslogtreecommitdiffstats
path: root/keyboards/edi/hardlight
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/edi/hardlight
parent7e54defa20bd6a4f199fb1da0f25e83f0d55bf25 (diff)
Move `WS2812_DRIVER` to data driven (#20248)
Diffstat (limited to 'keyboards/edi/hardlight')
-rw-r--r--keyboards/edi/hardlight/mk2/info.json3
-rw-r--r--keyboards/edi/hardlight/mk2/rules.mk1
2 files changed, 3 insertions, 1 deletions
diff --git a/keyboards/edi/hardlight/mk2/info.json b/keyboards/edi/hardlight/mk2/info.json
index ab2e78088a..239d0aa55e 100644
--- a/keyboards/edi/hardlight/mk2/info.json
+++ b/keyboards/edi/hardlight/mk2/info.json
@@ -6,6 +6,9 @@
"pid": "0x2408",
"device_version": "0.0.7"
},
+ "ws2812": {
+ "driver": "pwm"
+ },
"matrix_pins": {
"cols": ["B2", "B6", "B5", "F1", "F0", "C15", "C14", "C13"],
"rows": ["B10", "B11", "A14", "A15", "A3", "A0", "A2", "A1"]
diff --git a/keyboards/edi/hardlight/mk2/rules.mk b/keyboards/edi/hardlight/mk2/rules.mk
index aad4915dd6..69c4b26a9e 100644
--- a/keyboards/edi/hardlight/mk2/rules.mk
+++ b/keyboards/edi/hardlight/mk2/rules.mk
@@ -15,7 +15,6 @@ RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output
VELOCIKEY_ENABLE = yes
KEY_LOCK_ENABLE = yes
-WS2812_DRIVER = pwm
# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE