From 13434fc066ef0b213587f773cc05f1c5b7d31113 Mon Sep 17 00:00:00 2001 From: Skyler Hawthorne Date: Fri, 16 Feb 2024 09:01:01 -0500 Subject: Insert delay between shifted chars in send_string_with_delay (#19280) --- quantum/action.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'quantum/action.c') 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); } -- cgit v1.2.3