1
0

Fix a stuipid bug

This commit is contained in:
Kai Ryu 2014-09-12 10:26:25 +09:00
parent 753f5646d0
commit 4ec45893f6

View File

@ -232,14 +232,10 @@ static void select_row(uint8_t row)
else if (row == 16) {
DDRD |= (1<<PD7);
PORTD &= ~(1<<PD7);
DDRB |= (1<<PB5);
PORTB &= ~(1<<PB5);
}
else if (row == 17) {
DDRE |= (1<<PE6);
PORTE &= ~(1<<PE6);
DDRB |= (1<<PB6);
PORTB &= ~(1<<PB6);
}
#elif defined(REV_V3)
// Output low(DDR:1, PORT:0) to select