From: Alex Ong Date: Sat, 26 Jan 2019 11:45:25 +0000 (+1100) Subject: Bug fix - was using MATRIX_ROWS instead of num_rows X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=7cb8d3c7a7fe4de4629af21a92f5415cdfdffa0c;p=qmk_firmware.git Bug fix - was using MATRIX_ROWS instead of num_rows --- diff --git a/quantum/debounce/debounce_sym_g.c b/quantum/debounce/debounce_sym_g.c index e365cdf03..63bf2a64b 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]; } }