Sfoglia il codice sorgente

Revert "hhkb: Fix bug of matrix initialization for JP"

This reverts commit adfd5b92ebdc38721c89715e9071b35ecaeb79e9.
tmk 10 anni fa
parent
commit
c01ecce137
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      keyboard/hhkb/hhkb_avr.h

+ 1 - 1
keyboard/hhkb/hhkb_avr.h

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