From 45329de193db9ddca9780b0ce425a77d3be370de Mon Sep 17 00:00:00 2001 From: Dave Date: Sat, 4 Dec 2021 11:32:38 -0600 Subject: [PATCH] Fix slow repeat on some columns (Fixes #15) Removed a bit of logic from the column bit test code that created different scan rates for different columns. --- firmware/asdf/src/asdf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firmware/asdf/src/asdf.c b/firmware/asdf/src/asdf.c index 9805e69..5c75960 100644 --- a/firmware/asdf/src/asdf.c +++ b/firmware/asdf/src/asdf.c @@ -561,7 +561,7 @@ void asdf_keyscan(void) asdf_cols_t changed = row_key_state ^ last_stable_key_state[row]; // loop over the bits until all changed or pressed keys in the row are handled. - for (uint8_t col = 0; (changed || row_key_state) && col < asdf_keymaps_num_cols(); col++) { + for (uint8_t col = 0; /*(changed || row_key_state) && */col < asdf_keymaps_num_cols(); col++) { if (changed & 1) { // key state is different from last stable state asdf_handle_key_press_or_release(row, col, row_key_state & 1);