Skip to content

Commit

Permalink
fix unselect_rows() in quantum/matrix.c (qmk#6243)
Browse files Browse the repository at this point in the history
unselect_col() uses setPinInputHigh(), but unselect_cols() uses setPinInput().
This is not correct. unselect_cols() should also use setPinInputHigh().
  • Loading branch information
mtei authored and drashna committed Jul 3, 2019
1 parent c0c8b2e commit f268993
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quantum/matrix.c
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ static void unselect_row(uint8_t row)
static void unselect_rows(void)
{
for(uint8_t x = 0; x < MATRIX_ROWS; x++) {
setPinInput(row_pins[x]);
setPinInputHigh(row_pins[x]);
}
}

Expand Down

0 comments on commit f268993

Please sign in to comment.