summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoryiancar <yiangosyiangou@cytanet.com.cy>2022-01-29 06:42:39 +0000
committerGitHub <noreply@github.com>2022-01-28 22:42:39 -0800
commit1ca636819f081a6427ab7a0896302b068349a6dd (patch)
tree4f501028c658ae40b0be181d42a92674c5a8d428
parent1af65a22487927f667e8d193dd893a9c8d9cdf38 (diff)
[Keyboard] Fix Nasu Indicators (#15878)
Co-authored-by: yiancar <yiancar@gmail.com>
-rw-r--r--keyboards/nasu/config.h1
-rw-r--r--keyboards/nasu/nasu.c7
2 files changed, 0 insertions, 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 <http://www.gnu.org/licenses/>.
#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 <http://www.gnu.org/licenses/>.
*/
#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);
-}