Fix pin configuration error(macway). issue #17
authortmk <nobody@nowhere>
Sun, 25 Nov 2012 11:41:23 +0000 (20:41 +0900)
committertmk <nobody@nowhere>
Sun, 25 Nov 2012 11:41:23 +0000 (20:41 +0900)
keyboard/macway/matrix.c

index 394c3d97092c6eb7652c7c6956f63633db4291bb..4b0fd98f0f6dc8c6dec19d329da79278dd890808 100644 (file)
@@ -217,9 +217,9 @@ static void unselect_rows(void)
 {
     // Hi-Z(DDR:0, PORT:0) to unselect
     DDRC  &= ~0b01000000; // PC: 6
-    PORTC &= ~0b11000000;
+    PORTC &= ~0b01000000;
     DDRD  &= ~0b11100111; // PD: 7,6,5,2,1,0
-    PORTD &= ~0b11000111;
+    PORTD &= ~0b11100111;
     DDRF  &= ~0b11000000; // PF: 7,6
     PORTF &= ~0b11000000;
 }
Imprint / Impressum