forked from mirrors/qmk_firmware
Fix user hook call for dynamic_macro_record_key (#22250)
This commit is contained in:
parent
53f1e3b11f
commit
13f7b68240
1 changed files with 1 additions and 2 deletions
|
@ -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));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue