summaryrefslogtreecommitdiff
path: root/keyboards/input_club/whitefox
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/input_club/whitefox
parent0b7df03ab77552da806ed0b62d95fbf4199a534d (diff)
LED drivers: add support for shutdown pin (#23058)
* LED drivers: add support for shutdown pin * Update candidate boards
Diffstat (limited to 'keyboards/input_club/whitefox')
-rw-r--r--keyboards/input_club/whitefox/config.h1
-rw-r--r--keyboards/input_club/whitefox/whitefox.c9
2 files changed, 1 insertions, 9 deletions
diff --git a/keyboards/input_club/whitefox/config.h b/keyboards/input_club/whitefox/config.h
index 0a2a060e9b..664fcf9dc1 100644
--- a/keyboards/input_club/whitefox/config.h
+++ b/keyboards/input_club/whitefox/config.h
@@ -22,6 +22,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* LED matrix driver */
#define IS31FL3731_I2C_ADDRESS_1 IS31FL3731_I2C_ADDRESS_GND
+#define IS31FL3731_SDB_PIN B16
/* i2c (for LED matrix) */
#define I2C1_CLOCK_SPEED 400000
diff --git a/keyboards/input_club/whitefox/whitefox.c b/keyboards/input_club/whitefox/whitefox.c
index 07741365c3..773dbd3dc9 100644
--- a/keyboards/input_club/whitefox/whitefox.c
+++ b/keyboards/input_club/whitefox/whitefox.c
@@ -65,15 +65,6 @@ led_config_t g_led_config = {
};
#endif
-void keyboard_pre_init_kb(void) {
-#ifdef LED_MATRIX_ENABLE
- // Turn on LED controller
- setPinOutput(B16);
- writePinHigh(B16);
-#endif
- keyboard_pre_init_user();
-}
-
void matrix_init_kb(void) {
// put your keyboard start-up code here
// runs once when the firmware starts up