hhkb: Fix bug of matrix initialization for JP

This commit is contained in:
Jun Wako 2015-04-07 09:27:28 +09:00
parent d5ac54449a
commit adfd5b92eb

View File

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