]> git.friedersdorff.com Git - max/tmk_keyboard.git/commitdiff
hhkb: Fix bug of matrix initialization for JP
authorJun Wako <wakojun@gmail.com>
Tue, 7 Apr 2015 00:27:28 +0000 (09:27 +0900)
committerJun Wako <wakojun@gmail.com>
Tue, 7 Apr 2015 00:27:28 +0000 (09:27 +0900)
keyboard/hhkb/hhkb_avr.h

index 7ea6322c738ef371e931a43901e0ae467de50dcc..4e7e07036449c2774ca9c46a48a894b32a697b52 100644 (file)
@@ -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();