From 1565d6ee4392b844db19c547e79b84dbe5f0ef7c Mon Sep 17 00:00:00 2001 From: alex-ong Date: Tue, 23 Jan 2018 16:23:25 +1100 Subject: [PATCH] Regression: Previously, action_exec(TICK) was only called if no keys were processed. This restores the previous behaviour. --- tmk_core/common/keyboard.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tmk_core/common/keyboard.c b/tmk_core/common/keyboard.c index 864db2b295..a203332b32 100644 --- a/tmk_core/common/keyboard.c +++ b/tmk_core/common/keyboard.c @@ -107,6 +107,7 @@ void keyboard_task(void) matrix_row_t matrix_change = 0; matrix_scan(); + bool key_changed = false; for (uint8_t r = 0; r < MATRIX_ROWS; r++) { matrix_row = matrix_get_row(r); matrix_change = matrix_row ^ matrix_prev[r]; @@ -137,7 +138,7 @@ void keyboard_task(void) hook_matrix_change(e); // record a processed key matrix_prev[r] ^= ((matrix_row_t)1<