Use TAP_HOLD_CAPS_DELAY for KC_LOCKING_CAPS_LOCK (#17099)

master
precondition 2022-05-31 07:55:33 +02:00 committed by GitHub
parent 8545473307
commit d44a950c10
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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();
}