Skip to content

Commit

Permalink
Make sendstring respect TAP_CODE_DELAY (qmk#9623)
Browse files Browse the repository at this point in the history
  • Loading branch information
fauxpark authored and drashna committed Aug 9, 2020
1 parent f32994a commit 3fa11d8
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions quantum/quantum.c
Original file line number Diff line number Diff line change
Expand Up @@ -448,8 +448,7 @@ void send_string_with_delay(const char *str, uint8_t interval) {
if (ascii_code == SS_TAP_CODE) {
// tap
uint8_t keycode = *(++str);
register_code(keycode);
unregister_code(keycode);
tap_code(keycode);
} else if (ascii_code == SS_DOWN_CODE) {
// down
uint8_t keycode = *(++str);
Expand Down Expand Up @@ -490,8 +489,7 @@ void send_string_with_delay_P(const char *str, uint8_t interval) {
if (ascii_code == SS_TAP_CODE) {
// tap
uint8_t keycode = pgm_read_byte(++str);
register_code(keycode);
unregister_code(keycode);
tap_code(keycode);
} else if (ascii_code == SS_DOWN_CODE) {
// down
uint8_t keycode = pgm_read_byte(++str);
Expand Down

0 comments on commit 3fa11d8

Please sign in to comment.