aboutsummaryrefslogtreecommitdiff
path: root/keyboards/input_club/ergodox_infinity/ergodox_infinity.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/input_club/ergodox_infinity/ergodox_infinity.c')
-rw-r--r--keyboards/input_club/ergodox_infinity/ergodox_infinity.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/keyboards/input_club/ergodox_infinity/ergodox_infinity.c b/keyboards/input_club/ergodox_infinity/ergodox_infinity.c
index 8f245d9fa3..7660a41f56 100644
--- a/keyboards/input_club/ergodox_infinity/ergodox_infinity.c
+++ b/keyboards/input_club/ergodox_infinity/ergodox_infinity.c
@@ -95,11 +95,6 @@ __attribute__ ((weak)) void matrix_scan_user(void) {}
void keyboard_pre_init_kb(void) {
-#ifdef LED_MATRIX_ENABLE
- // Turn on LED controller
- setPinOutput(B16);
- writePinHigh(B16);
-#endif
// The backlight always has to be initialized, otherwise it will stay lit
lcd_backlight_hal_init();
#ifdef ST7565_ENABLE
@@ -171,7 +166,7 @@ const keypos_t PROGMEM hand_swap_config[MATRIX_ROWS][MATRIX_COLS] = {
#endif
#ifdef LED_MATRIX_ENABLE
-const is31fl3731_led_t PROGMEM g_is31fl3731_leds[LED_MATRIX_LED_COUNT] = {
+const is31fl3731_led_t PROGMEM g_is31fl3731_leds[IS31FL3731_LED_COUNT] = {
// The numbers in the comments are the led numbers DXX on the PCB
/* Refer to IS31 manual for these locations
* driver