aboutsummaryrefslogtreecommitdiff
path: root/quantum/quantum.c
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2020-07-03 03:08:19 +1000
committerGitHub <noreply@github.com>2020-07-02 18:08:19 +0100
commit00fc35539d774c43cde383a8d2cc8b254787ce6c (patch)
tree213e05396453a122df31149b12cb452f8827a845 /quantum/quantum.c
parent65c9da5a657744578cf70b520736221209bf793b (diff)
downloadqmk_firmware-00fc35539d774c43cde383a8d2cc8b254787ce6c.tar.gz
qmk_firmware-00fc35539d774c43cde383a8d2cc8b254787ce6c.zip
Make sendstring respect `TAP_CODE_DELAY` (#9623)
Diffstat (limited to 'quantum/quantum.c')
-rw-r--r--quantum/quantum.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/quantum/quantum.c b/quantum/quantum.c
index 75df357d3..044a15612 100644
--- a/quantum/quantum.c
+++ b/quantum/quantum.c
@@ -438,8 +438,7 @@ void send_string_with_delay(const char *str, uint8_t interval) {
438 if (ascii_code == SS_TAP_CODE) { 438 if (ascii_code == SS_TAP_CODE) {
439 // tap 439 // tap
440 uint8_t keycode = *(++str); 440 uint8_t keycode = *(++str);
441 register_code(keycode); 441 tap_code(keycode);
442 unregister_code(keycode);
443 } else if (ascii_code == SS_DOWN_CODE) { 442 } else if (ascii_code == SS_DOWN_CODE) {
444 // down 443 // down
445 uint8_t keycode = *(++str); 444 uint8_t keycode = *(++str);
@@ -480,8 +479,7 @@ void send_string_with_delay_P(const char *str, uint8_t interval) {
480 if (ascii_code == SS_TAP_CODE) { 479 if (ascii_code == SS_TAP_CODE) {
481 // tap 480 // tap
482 uint8_t keycode = pgm_read_byte(++str); 481 uint8_t keycode = pgm_read_byte(++str);
483 register_code(keycode); 482 tap_code(keycode);
484 unregister_code(keycode);
485 } else if (ascii_code == SS_DOWN_CODE) { 483 } else if (ascii_code == SS_DOWN_CODE) {
486 // down 484 // down
487 uint8_t keycode = pgm_read_byte(++str); 485 uint8_t keycode = pgm_read_byte(++str);