From 1ca636819f081a6427ab7a0896302b068349a6dd Mon Sep 17 00:00:00 2001 From: yiancar Date: Sat, 29 Jan 2022 06:42:39 +0000 Subject: [PATCH] [Keyboard] Fix Nasu Indicators (#15878) Co-authored-by: yiancar --- keyboards/nasu/config.h | 1 - keyboards/nasu/nasu.c | 7 ------- 2 files changed, 8 deletions(-) diff --git a/keyboards/nasu/config.h b/keyboards/nasu/config.h index e68df3719f..15ed75d5c0 100644 --- a/keyboards/nasu/config.h +++ b/keyboards/nasu/config.h @@ -46,7 +46,6 @@ along with this program. If not, see . #define LED_CAPS_LOCK_PIN B1 #define LED_NUM_LOCK_PIN B0 #define LED_SCROLL_LOCK_PIN A7 -#define LED_PIN_ON_STATE 0 /* define if matrix has ghost (lacks anti-ghosting diodes) */ //#define MATRIX_HAS_GHOST diff --git a/keyboards/nasu/nasu.c b/keyboards/nasu/nasu.c index b5e41409f3..e7ae6a369e 100644 --- a/keyboards/nasu/nasu.c +++ b/keyboards/nasu/nasu.c @@ -14,10 +14,3 @@ * along with this program. If not, see . */ #include "nasu.h" - -void led_init_ports(void) { - // Set our LED pins as open drain outputs - palSetLineMode(LED_CAPS_LOCK_PIN, PAL_MODE_OUTPUT_OPENDRAIN); - palSetLineMode(LED_NUM_LOCK_PIN, PAL_MODE_OUTPUT_OPENDRAIN); - palSetLineMode(LED_SCROLL_LOCK_PIN, PAL_MODE_OUTPUT_OPENDRAIN); -}