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

This commit is contained in:
Stefan Kerkmann 2022-01-11 00:01:20 +01:00 committed by GitHub
parent 5d0c92b40c
commit 5470e4a8ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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