Revert "hhkb: Fix bug of matrix initialization for JP"
authortmk <hasu@tmk-kbd.com>
Wed, 13 May 2015 08:31:26 +0000 (17:31 +0900)
committertmk <hasu@tmk-kbd.com>
Wed, 13 May 2015 08:31:26 +0000 (17:31 +0900)
This reverts commit adfd5b92ebdc38721c89715e9071b35ecaeb79e9.

keyboard/hhkb/hhkb_avr.h

index 4e7e07036449c2774ca9c46a48a894b32a697b52..7ea6322c738ef371e931a43901e0ae467de50dcc 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();
Imprint / Impressum