1
0
Fork 0

fix unselect_rows() in quantum/matrix.c (#6243)

unselect_col() uses setPinInputHigh(), but unselect_cols() uses setPinInput().
This is not correct. unselect_cols() should also use setPinInputHigh().
This commit is contained in:
Takeshi ISHII 2019-07-04 03:50:06 +09:00 committed by Drashna Jaelre
parent c0c8b2e50d
commit f268993760

View file

@ -183,7 +183,7 @@ static void unselect_row(uint8_t row)
static void unselect_rows(void) static void unselect_rows(void)
{ {
for(uint8_t x = 0; x < MATRIX_ROWS; x++) { for(uint8_t x = 0; x < MATRIX_ROWS; x++) {
setPinInput(row_pins[x]); setPinInputHigh(row_pins[x]);
} }
} }