summaryrefslogtreecommitdiff
path: root/quantum/debounce/sym_eager_pr.c
diff options
context:
space:
mode:
authorAndre Brait <andrebrait@gmail.com>2023-09-25 04:48:55 +0200
committerGitHub <noreply@github.com>2023-09-25 12:48:55 +1000
commit960d6e0d7d8007ee826184967dc1edc5ab7b2755 (patch)
treee6c429f3086e0c51ad84e25e16c5c5fd1c937425 /quantum/debounce/sym_eager_pr.c
parentdd94877ec6d2ee5c4cdb0e71287abd76585b0268 (diff)
[Enhancement] Improvements for debounce test coverage + bug fixes for sym_defer_g and sym_eager_pr (#21667)
Co-authored-by: Nebuleon <2391500+Nebuleon@users.noreply.github.com>
Diffstat (limited to 'quantum/debounce/sym_eager_pr.c')
-rw-r--r--quantum/debounce/sym_eager_pr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/quantum/debounce/sym_eager_pr.c b/quantum/debounce/sym_eager_pr.c
index ccc5d20fa2..6cd9308aff 100644
--- a/quantum/debounce/sym_eager_pr.c
+++ b/quantum/debounce/sym_eager_pr.c
@@ -128,8 +128,8 @@ static void transfer_matrix_values(matrix_row_t raw[], matrix_row_t cooked[], ui
if (existing_row != raw_row) {
if (*debounce_pointer == DEBOUNCE_ELAPSED) {
*debounce_pointer = DEBOUNCE;
- cooked[row] = raw_row;
- cooked_changed |= cooked[row] ^ raw[row];
+ cooked_changed |= cooked[row] ^ raw_row;
+ cooked[row] = raw_row;
counters_need_update = true;
}
}