diff options
author | Jun Wako <wakojun@gmail.com> | 2015-04-07 09:27:28 +0900 |
---|---|---|
committer | Jun Wako <wakojun@gmail.com> | 2015-04-07 09:27:28 +0900 |
commit | adfd5b92ebdc38721c89715e9071b35ecaeb79e9 (patch) | |
tree | 08f227d6fe1646e7550ba65b861dcbe158d30a57 /keyboard/hhkb/hhkb_avr.h | |
parent | d5ac54449ad7726e4d392d14551f3559cc63afbf (diff) |
hhkb: Fix bug of matrix initialization for JP
Diffstat (limited to 'keyboard/hhkb/hhkb_avr.h')
-rw-r--r-- | keyboard/hhkb/hhkb_avr.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/keyboard/hhkb/hhkb_avr.h b/keyboard/hhkb/hhkb_avr.h index 7ea6322c73..4e7e070364 100644 --- a/keyboard/hhkb/hhkb_avr.h +++ b/keyboard/hhkb/hhkb_avr.h @@ -70,7 +70,7 @@ static inline void KEY_INIT(void) #ifdef HHKB_JP /* row extention for HHKB JP */ DDRC |= (1<<6|1<<7); - PORTC |= (1<<6|1<<7); + PORTC &= ~(1<<6|1<<7); #endif KEY_UNABLE(); KEY_PREV_OFF(); |