summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortmk <nobody@nowhere>2012-11-25 20:41:23 +0900
committertmk <nobody@nowhere>2012-11-25 20:41:23 +0900
commitb6e07aa85d799c0254e9c010aa210c019506ff7b (patch)
tree56cd5d98fec32a8e35f3aeea28e5afe3a02659a5
parent94b4fba6e6afa6d7d68051a1ceb6987bb6002ccd (diff)
downloadqmk_firmware-b6e07aa85d799c0254e9c010aa210c019506ff7b.tar.gz
qmk_firmware-b6e07aa85d799c0254e9c010aa210c019506ff7b.zip
Fix pin configuration error(macway). issue #17
-rw-r--r--keyboard/macway/matrix.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/keyboard/macway/matrix.c b/keyboard/macway/matrix.c
index 394c3d9709..4b0fd98f0f 100644
--- a/keyboard/macway/matrix.c
+++ b/keyboard/macway/matrix.c
@@ -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;
}