summaryrefslogtreecommitdiff
path: root/keyboards/mt/mt40
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/mt/mt40
parent7e54defa20bd6a4f199fb1da0f25e83f0d55bf25 (diff)
Move `WS2812_DRIVER` to data driven (#20248)
Diffstat (limited to 'keyboards/mt/mt40')
-rw-r--r--keyboards/mt/mt40/info.json3
-rw-r--r--keyboards/mt/mt40/rules.mk1
2 files changed, 3 insertions, 1 deletions
diff --git a/keyboards/mt/mt40/info.json b/keyboards/mt/mt40/info.json
index d632160093..3af8ecceb2 100644
--- a/keyboards/mt/mt40/info.json
+++ b/keyboards/mt/mt40/info.json
@@ -16,6 +16,9 @@
"backlight": {
"pin": "D2"
},
+ "ws2812": {
+ "driver": "i2c"
+ },
"processor": "atmega32a",
"bootloader": "bootloadhid",
"community_layouts": ["planck_mit"],
diff --git a/keyboards/mt/mt40/rules.mk b/keyboards/mt/mt40/rules.mk
index 05b8900231..b50ebe5888 100644
--- a/keyboards/mt/mt40/rules.mk
+++ b/keyboards/mt/mt40/rules.mk
@@ -10,6 +10,5 @@ NKRO_ENABLE = no # Enable N-Key Rollover
BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
AUDIO_ENABLE = no # Audio output
RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight.
-WS2812_DRIVER = i2c
LAYOUTS_HAS_RGB = no