From bf6bcd9d19b45a67cf46f55bce59862f3fccbf94 Mon Sep 17 00:00:00 2001 From: precondition <57645186+precondition@users.noreply.github.com> Date: Sun, 15 May 2022 12:42:36 +0200 Subject: [PATCH] Use TAP_HOLD_CAPS_DELAY for KC_LOCKING_CAPS_LOCK --- quantum/action.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quantum/action.c b/quantum/action.c index 4e81a5466f7e..83f6e2a970e0 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(); }