Insert delay between shifted chars in send_string_with_delay (#19280)
This commit is contained in:
parent
3a0f11a661
commit
13434fc066
3 changed files with 38 additions and 16 deletions
|
@ -1011,9 +1011,7 @@ __attribute__((weak)) void unregister_code(uint8_t code) {
|
|||
*/
|
||||
__attribute__((weak)) void tap_code_delay(uint8_t code, uint16_t delay) {
|
||||
register_code(code);
|
||||
for (uint16_t i = delay; i > 0; i--) {
|
||||
wait_ms(1);
|
||||
}
|
||||
wait_ms(delay);
|
||||
unregister_code(code);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue