소스 검색

[Core] ChibiOS: shorten USB disconnect state on boot to 50ms (#15805)

Stefan Kerkmann 3 년 전
부모
커밋
5470e4a8ad
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      tmk_core/protocol/chibios/usb_main.c

+ 1 - 1
tmk_core/protocol/chibios/usb_main.c

@@ -734,7 +734,7 @@ void init_usb_driver(USBDriver *usbp) {
      * after a reset.
      */
     usbDisconnectBus(usbp);
-    wait_ms(1500);
+    wait_ms(50);
     usbStart(usbp, &usbcfg);
     usbConnectBus(usbp);