diff options
author | Jack Humbert <jack.humb@gmail.com> | 2016-11-18 23:20:07 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-18 23:20:07 -0500 |
commit | a06115df19a74d39b08758472b221e630c3680d3 (patch) | |
tree | 1899d5ded7c52024fb9dcf5da38909646779fd2a /quantum | |
parent | c38b3e3be93a8b4f520212117b6498a288d67751 (diff) |
don't always detect a matrix change (fixes debounce)
Diffstat (limited to 'quantum')
-rw-r--r-- | quantum/matrix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/quantum/matrix.c b/quantum/matrix.c index 3c488b417d..07eb87bc36 100644 --- a/quantum/matrix.c +++ b/quantum/matrix.c @@ -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) |