summaryrefslogtreecommitdiffstats
path: root/quantum/matrix.c
diff options
context:
space:
mode:
Diffstat (limited to 'quantum/matrix.c')
-rw-r--r--quantum/matrix.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/quantum/matrix.c b/quantum/matrix.c
index 8fc4175bde..5b7a0e03b1 100644
--- a/quantum/matrix.c
+++ b/quantum/matrix.c
@@ -122,7 +122,7 @@ void matrix_init(void) {
raw_matrix[i] = 0;
matrix[i] = 0;
}
- debounce_init();
+ debounce_init(MATRIX_ROWS);
matrix_init_quantum();
}
@@ -143,7 +143,7 @@ uint8_t matrix_scan(void)
}
#endif
- debounce(raw_matrix, matrix, changed);
+ debounce(raw_matrix, matrix, MATRIX_ROWS, changed);
matrix_scan_quantum();
return 1;