summaryrefslogtreecommitdiff
path: root/keyboards/melgeek/mj64
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2024-02-15 18:11:50 +1100
committerGitHub <noreply@github.com>2024-02-15 07:11:50 +0000
commita9f1105f98ecca299d401f81cd5cc1699683e2ce (patch)
tree879817fceabf9bbfaac7666999eb87c7a6693309 /keyboards/melgeek/mj64
parent0b7df03ab77552da806ed0b62d95fbf4199a534d (diff)
LED drivers: add support for shutdown pin (#23058)
* LED drivers: add support for shutdown pin * Update candidate boards
Diffstat (limited to 'keyboards/melgeek/mj64')
-rw-r--r--keyboards/melgeek/mj64/config.h1
-rw-r--r--keyboards/melgeek/mj64/rev1/rev1.c7
-rw-r--r--keyboards/melgeek/mj64/rev2/rev2.c8
-rw-r--r--keyboards/melgeek/mj64/rev3/rev3.c6
4 files changed, 1 insertions, 21 deletions
diff --git a/keyboards/melgeek/mj64/config.h b/keyboards/melgeek/mj64/config.h
index 9c0ab6c13f..010e035e2e 100644
--- a/keyboards/melgeek/mj64/config.h
+++ b/keyboards/melgeek/mj64/config.h
@@ -17,3 +17,4 @@
#pragma once
#define IS31FL3741_I2C_ADDRESS_1 IS31FL3741_I2C_ADDRESS_GND
+#define IS31FL3741_SDB_PIN A2
diff --git a/keyboards/melgeek/mj64/rev1/rev1.c b/keyboards/melgeek/mj64/rev1/rev1.c
index a608f83afe..efc9637db8 100644
--- a/keyboards/melgeek/mj64/rev1/rev1.c
+++ b/keyboards/melgeek/mj64/rev1/rev1.c
@@ -116,11 +116,4 @@ void suspend_wakeup_init_kb(void) {
rgb_matrix_set_suspend_state(false);
suspend_wakeup_init_user();
}
-
-void keyboard_pre_init_kb(void) {
- setPinOutput(A2);
- writePinHigh(A2);
- keyboard_pre_init_user();
-}
-
#endif
diff --git a/keyboards/melgeek/mj64/rev2/rev2.c b/keyboards/melgeek/mj64/rev2/rev2.c
index 67c17855fd..2f11cc95ba 100644
--- a/keyboards/melgeek/mj64/rev2/rev2.c
+++ b/keyboards/melgeek/mj64/rev2/rev2.c
@@ -119,12 +119,4 @@ void suspend_wakeup_init_kb(void) {
rgb_matrix_set_suspend_state(false);
suspend_wakeup_init_user();
}
-
-void keyboard_pre_init_kb(void) {
- setPinOutput(A2);
- writePinHigh(A2);
- keyboard_pre_init_user();
-}
-
#endif
-
diff --git a/keyboards/melgeek/mj64/rev3/rev3.c b/keyboards/melgeek/mj64/rev3/rev3.c
index 77f86bb015..d797301b0a 100644
--- a/keyboards/melgeek/mj64/rev3/rev3.c
+++ b/keyboards/melgeek/mj64/rev3/rev3.c
@@ -126,9 +126,3 @@ void suspend_wakeup_init_kb(void) {
suspend_wakeup_init_user();
}
#endif
-
-void keyboard_pre_init_kb(void) {
- setPinOutput(A2);
- writePinHigh(A2);
- keyboard_pre_init_user();
-}