Browse Source

Fix user hook call for dynamic_macro_record_key (#22250)

pull/22877/head 0.23.5
Kai 3 months ago
committed by GitHub
parent
commit
13f7b68240
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      quantum/process_keycode/process_dynamic_macro.c

+ 1
- 2
quantum/process_keycode/process_dynamic_macro.c View File

@ -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…
Cancel
Save