summaryrefslogtreecommitdiff
path: root/quantum
diff options
context:
space:
mode:
authorAlex Ong <the.onga@gmail.com>2019-01-26 22:45:25 +1100
committerAlex Ong <the.onga@gmail.com>2019-01-26 22:45:25 +1100
commit7cb8d3c7a7fe4de4629af21a92f5415cdfdffa0c (patch)
treee311903fcdd53c5985de7f10c2c5eca270fd516a /quantum
parentb5b119544a4e943b3eb56f6a32f350c428f532f7 (diff)
Bug fix - was using MATRIX_ROWS instead of num_rows
Diffstat (limited to 'quantum')
-rw-r--r--quantum/debounce/debounce_sym_g.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/quantum/debounce/debounce_sym_g.c b/quantum/debounce/debounce_sym_g.c
index e365cdf037..63bf2a64be 100644
--- a/quantum/debounce/debounce_sym_g.c
+++ b/quantum/debounce/debounce_sym_g.c
@@ -45,7 +45,7 @@ void debounce(matrix_row_t raw[], matrix_row_t cooked[], uint8_t num_rows, bool
#else //no debouncing.
void debounce(matrix_row_t raw[], matrix_row_t cooked[], uint8_t num_rows, bool changed)
{
- for (int i = 0; i < MATRIX_ROWS; i++) {
+ for (int i = 0; i < num_rows; i++) {
cooked[i] = raw[i];
}
}