Эх сурвалжийг харах

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

Stefan Kerkmann 3 жил өмнө
parent
commit
5470e4a8ad

+ 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);