diff options
author | QMK Bot <hello@qmk.fm> | 2024-01-09 10:46:13 +0000 |
---|---|---|
committer | QMK Bot <hello@qmk.fm> | 2024-01-09 10:46:13 +0000 |
commit | 8b671b99693698f87a4a27c9964f41addb38f2c7 (patch) | |
tree | 1a84ce5c5a0b7d4d6e356cc6df37b3938e275325 /quantum/process_keycode/process_dynamic_macro.c | |
parent | bd11ddc09352de10163d34ba567f52da37a2e91b (diff) | |
parent | 13f7b6824057e74e9e70781595378d594beeda55 (diff) |
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'quantum/process_keycode/process_dynamic_macro.c')
-rw-r--r-- | quantum/process_keycode/process_dynamic_macro.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/quantum/process_keycode/process_dynamic_macro.c b/quantum/process_keycode/process_dynamic_macro.c index 30a51503db..214cd80a87 100644 --- a/quantum/process_keycode/process_dynamic_macro.c +++ b/quantum/process_keycode/process_dynamic_macro.c @@ -133,9 +133,8 @@ void dynamic_macro_record_key(keyrecord_t *macro_buffer, keyrecord_t **macro_poi if (*macro_pointer - direction != macro2_end) { **macro_pointer = *record; *macro_pointer += direction; - } else { - dynamic_macro_record_key_user(direction, record); } + dynamic_macro_record_key_user(direction, record); dprintf("dynamic macro: slot %d length: %d/%d\n", DYNAMIC_MACRO_CURRENT_SLOT(), DYNAMIC_MACRO_CURRENT_LENGTH(macro_buffer, *macro_pointer), DYNAMIC_MACRO_CURRENT_CAPACITY(macro_buffer, macro2_end)); } |