|
|
@ -38,7 +38,7 @@ void matrix_init_kb(void) {
|
|
|
|
PORTB &= ~(1<<4); // set B(4) internal pull-up disabled
|
|
|
|
PORTB &= ~(1<<4); // set B(4) internal pull-up disabled
|
|
|
|
|
|
|
|
|
|
|
|
// unused pins - C7, D4, D5, D7, E6
|
|
|
|
// unused pins - C7, D4, D5, D7, E6
|
|
|
|
// set as input with internal pull-ip enabled
|
|
|
|
// set as input with internal pull-up enabled
|
|
|
|
DDRC &= ~(1<<7);
|
|
|
|
DDRC &= ~(1<<7);
|
|
|
|
DDRD &= ~(1<<5 | 1<<4);
|
|
|
|
DDRD &= ~(1<<5 | 1<<4);
|
|
|
|
DDRE &= ~(1<<6);
|
|
|
|
DDRE &= ~(1<<6);
|
|
|
|