summaryrefslogtreecommitdiff
path: root/quantum/action.c
diff options
context:
space:
mode:
authorprecondition <57645186+precondition@users.noreply.github.com>2022-05-31 07:55:33 +0200
committerGitHub <noreply@github.com>2022-05-30 22:55:33 -0700
commitd44a950c107492b801d567a507e2213376e7f47c (patch)
tree807c434e31d3c5257c0a69328a54db469f04425e /quantum/action.c
parent854547330704fb1b1f07d547d49728da8b92b2a3 (diff)
Use TAP_HOLD_CAPS_DELAY for KC_LOCKING_CAPS_LOCK (#17099)
Diffstat (limited to 'quantum/action.c')
-rw-r--r--quantum/action.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/quantum/action.c b/quantum/action.c
index 4e81a5466f..83f6e2a970 100644
--- a/quantum/action.c
+++ b/quantum/action.c
@@ -844,7 +844,7 @@ __attribute__((weak)) void register_code(uint8_t code) {
# endif
add_key(KC_CAPS_LOCK);
send_keyboard_report();
- wait_ms(100);
+ wait_ms(TAP_HOLD_CAPS_DELAY);
del_key(KC_CAPS_LOCK);
send_keyboard_report();
}