Browse Source

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

Stefan Kerkmann 3 năm trước cách đây
mục cha
commit
5470e4a8ad
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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);