fc980c: Fix initial state of LED
This commit is contained in:
parent
c215713f13
commit
47775af206
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue