diff options
author | Skyler Hawthorne <[email protected]> | 2024-02-16 09:01:01 -0500 |
---|---|---|
committer | GitHub <[email protected]> | 2024-02-17 01:01:01 +1100 |
commit | 13434fc066ef0b213587f773cc05f1c5b7d31113 (patch) | |
tree | fdbab73b331a821ddd795c4c4cbe9d46f9ea1227 /quantum/action.c | |
parent | 3a0f11a66178116ee935dd5b58332962666de5f2 (diff) | |
download | qmk_firmware-13434fc066ef0b213587f773cc05f1c5b7d31113.tar.gz qmk_firmware-13434fc066ef0b213587f773cc05f1c5b7d31113.zip |
Insert delay between shifted chars in send_string_with_delay (#19280)
Diffstat (limited to 'quantum/action.c')
-rw-r--r-- | quantum/action.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/quantum/action.c b/quantum/action.c index 29822c39e9..8dae32b2cb 100644 --- a/quantum/action.c +++ b/quantum/action.c @@ -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); } |