fc980c: Fix initial state of LED

This commit is contained in:
tmk 2019-10-01 14:16:44 +09:00
parent c215713f13
commit 47775af206

View file

@ -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;