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

master
Jack Humbert 2016-11-18 23:20:07 -05:00 committed by GitHub
parent c38b3e3be9
commit a06115df19
1 changed files with 1 additions and 1 deletions

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(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)