From 47775af20671e347e7e5545f63b42a51f0a4df04 Mon Sep 17 00:00:00 2001 From: tmk Date: Tue, 1 Oct 2019 14:16:44 +0900 Subject: [PATCH] fc980c: Fix initial state of LED --- keyboard/fc980c/fc980c.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keyboard/fc980c/fc980c.c b/keyboard/fc980c/fc980c.c index 59b1d526..6b8fa39b 100644 --- a/keyboard/fc980c/fc980c.c +++ b/keyboard/fc980c/fc980c.c @@ -51,7 +51,7 @@ void matrix_init(void) // LEDs on NumLock, CapsLock and ScrollLock(PB4, PB5, PB6) DDRB |= (1<<4) | (1<<5) | (1<<6); - PORTB |= (1<<4) | (1<<5) | (1<<6); + PORTB &= ~((1<<4) | (1<<5) | (1<<6)); // initialize matrix state: all keys off for (uint8_t i=0; i < MATRIX_ROWS; i++) _matrix0[i] = 0x00; -- 2.45.2