summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJun Wako <wakojun@gmail.com>2015-04-07 09:27:28 +0900
committerJun Wako <wakojun@gmail.com>2015-04-07 09:27:28 +0900
commitadfd5b92ebdc38721c89715e9071b35ecaeb79e9 (patch)
tree08f227d6fe1646e7550ba65b861dcbe158d30a57
parentd5ac54449ad7726e4d392d14551f3559cc63afbf (diff)
hhkb: Fix bug of matrix initialization for JP
-rw-r--r--keyboard/hhkb/hhkb_avr.h2
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();