1
0
Fork 0

don't always detect a matrix change (fixes debounce)

This commit is contained in:
Jack Humbert 2016-11-18 23:20:07 -05:00 committed by GitHub
parent c38b3e3be9
commit a06115df19

View file

@ -310,7 +310,7 @@ static bool read_cols_on_row(matrix_row_t current_matrix[], uint8_t current_row)
// Unselect row // Unselect row
unselect_row(current_row); unselect_row(current_row);
return (last_row_value == current_matrix[current_row]); return (last_row_value != current_matrix[current_row]);
} }
static void select_row(uint8_t row) static void select_row(uint8_t row)