소스 검색

Use TAP_HOLD_CAPS_DELAY for KC_LOCKING_CAPS_LOCK (#17099)

precondition 3 년 전
부모
커밋
d44a950c10
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      quantum/action.c

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