hhkb: Fix bug of matrix initialization for JP

example_keyboards
Jun Wako 10 years ago
parent d5ac54449a
commit adfd5b92eb

@ -70,7 +70,7 @@ static inline void KEY_INIT(void)
#ifdef HHKB_JP #ifdef HHKB_JP
/* row extention for HHKB JP */ /* row extention for HHKB JP */
DDRC |= (1<<6|1<<7); DDRC |= (1<<6|1<<7);
PORTC |= (1<<6|1<<7); PORTC &= ~(1<<6|1<<7);
#endif #endif
KEY_UNABLE(); KEY_UNABLE();
KEY_PREV_OFF(); KEY_PREV_OFF();

Loading…
Cancel
Save