summaryrefslogtreecommitdiff
path: root/keyboards/opendeck
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/opendeck
parent0b7df03ab77552da806ed0b62d95fbf4199a534d (diff)
LED drivers: add support for shutdown pin (#23058)
* LED drivers: add support for shutdown pin * Update candidate boards
Diffstat (limited to 'keyboards/opendeck')
-rw-r--r--keyboards/opendeck/32/rev1/config.h2
-rw-r--r--keyboards/opendeck/32/rev1/rev1.c6
-rw-r--r--keyboards/opendeck/32/rev1/rev1.h2
3 files changed, 3 insertions, 7 deletions
diff --git a/keyboards/opendeck/32/rev1/config.h b/keyboards/opendeck/32/rev1/config.h
index 17cf330d6d..446cb047fa 100644
--- a/keyboards/opendeck/32/rev1/config.h
+++ b/keyboards/opendeck/32/rev1/config.h
@@ -16,6 +16,8 @@
#pragma once
#define IS31FL3731_I2C_ADDRESS_1 IS31FL3731_I2C_ADDRESS_GND
+#define IS31FL3731_SDB_PIN D2
+#define IS31FL3731_IRQ_PIN D3
#define RGB_MATRIX_DISABLE_KEYCODES
diff --git a/keyboards/opendeck/32/rev1/rev1.c b/keyboards/opendeck/32/rev1/rev1.c
index 2bf04f8479..8b3f9c0222 100644
--- a/keyboards/opendeck/32/rev1/rev1.c
+++ b/keyboards/opendeck/32/rev1/rev1.c
@@ -93,13 +93,9 @@ void keyboard_pre_init_kb(void) {
setPinOutput(POWER_LED_PIN);
writePinLow(POWER_LED_PIN);
- // Enable RGB driver IC
- setPinOutput(RGB_DISABLE_N_PIN);
- writePinHigh(RGB_DISABLE_N_PIN);
-
// We don't use this feature of the IS31FL3731 but it is electrically connected
// Make sure not to drive it
- setPinInput(RGB_IRQ_N_PIN);
+ setPinInput(IS31FL3731_IRQ_PIN);
keyboard_pre_init_user();
}
diff --git a/keyboards/opendeck/32/rev1/rev1.h b/keyboards/opendeck/32/rev1/rev1.h
index 69777d95ab..455b2ac753 100644
--- a/keyboards/opendeck/32/rev1/rev1.h
+++ b/keyboards/opendeck/32/rev1/rev1.h
@@ -19,8 +19,6 @@
#include "quantum.h"
#define POWER_LED_PIN F1
-#define RGB_DISABLE_N_PIN D2
-#define RGB_IRQ_N_PIN D3
// If you want something similar to what Taran from LMG does in https://github.com/TaranVH/2nd-keyboard
// you can create a "wrapper key" by uncommenting the row below and chosing your wrapper keycode.