aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 394c3d970..4b0fd98f0 100644
--- a/keyboard/macway/matrix.c
+++ b/keyboard/macway/matrix.c
@@ -217,9 +217,9 @@ static void unselect_rows(void)
217{ 217{
218 // Hi-Z(DDR:0, PORT:0) to unselect 218 // Hi-Z(DDR:0, PORT:0) to unselect
219 DDRC &= ~0b01000000; // PC: 6 219 DDRC &= ~0b01000000; // PC: 6
220 PORTC &= ~0b11000000; 220 PORTC &= ~0b01000000;
221 DDRD &= ~0b11100111; // PD: 7,6,5,2,1,0 221 DDRD &= ~0b11100111; // PD: 7,6,5,2,1,0
222 PORTD &= ~0b11000111; 222 PORTD &= ~0b11100111;
223 DDRF &= ~0b11000000; // PF: 7,6 223 DDRF &= ~0b11000000; // PF: 7,6
224 PORTF &= ~0b11000000; 224 PORTF &= ~0b11000000;
225} 225}