summaryrefslogtreecommitdiff
path: root/keyboards/adm42
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-04-06 18:00:54 +1000
committerGitHub <noreply@github.com>2023-04-06 18:00:54 +1000
commit47966dc2a65c88ac90fcd64d12243d72f3f6753b (patch)
treed2f54974c74f66bf11565a64381ea8834f49d481 /keyboards/adm42
parent71c22a12db58c71952a12df6bbe445f6f9a4e858 (diff)
Migrate `rgblight.pin` and `RGB_DI_PIN` to `ws2812.pin` (#20303)
Diffstat (limited to 'keyboards/adm42')
-rw-r--r--keyboards/adm42/info.json3
-rw-r--r--keyboards/adm42/rev4/config.h2
2 files changed, 3 insertions, 2 deletions
diff --git a/keyboards/adm42/info.json b/keyboards/adm42/info.json
index 5d518c3b86..03396e96c0 100644
--- a/keyboards/adm42/info.json
+++ b/keyboards/adm42/info.json
@@ -9,6 +9,9 @@
"pid": "0xE873",
"device_version": "0.0.1"
},
+ "ws2812": {
+ "pin": "B7"
+ },
"matrix_pins": {
"cols": ["C6", "B6", "B5", "B4", "D7", "D6", "F0", "F1", "F4", "F5", "F6", "F7"],
"rows": ["C7", "D5", "D3", "D2"]
diff --git a/keyboards/adm42/rev4/config.h b/keyboards/adm42/rev4/config.h
index 73a212910a..fbf2e300ef 100644
--- a/keyboards/adm42/rev4/config.h
+++ b/keyboards/adm42/rev4/config.h
@@ -18,8 +18,6 @@
#define ADM42_LED E6
-#define RGB_DI_PIN B7
-
#define RGB_MATRIX_LED_COUNT 42
#define RGB_MATRIX_MAXIMUM_BRIGHTNESS 170
#define RGB_DISABLE_WHEN_USB_SUSPENDED