Skip to content

Commit

Permalink
Fix user hook call for dynamic_macro_record_key (qmk#22250)
Browse files Browse the repository at this point in the history
  • Loading branch information
kaine119 authored and Daniel Shields committed Feb 15, 2024
1 parent 4325bdc commit 0a72a2e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions quantum/process_keycode/process_dynamic_macro.c
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}
Expand Down

0 comments on commit 0a72a2e

Please sign in to comment.