summaryrefslogtreecommitdiff
path: root/tmk_core
diff options
context:
space:
mode:
authorStefan Kerkmann <karlk90@pm.me>2022-01-11 00:01:20 +0100
committerGitHub <noreply@github.com>2022-01-10 15:01:20 -0800
commit5470e4a8add89a2e413a3c3994e856fff1c99ab9 (patch)
tree7cb809dd37d8d8494ef6675d0036d8f1cd834971 /tmk_core
parent5d0c92b40c4a01838440e4562a1d3e0388c90e95 (diff)
downloadqmk_firmware-5470e4a8add89a2e413a3c3994e856fff1c99ab9.tar.gz
qmk_firmware-5470e4a8add89a2e413a3c3994e856fff1c99ab9.zip
[Core] ChibiOS: shorten USB disconnect state on boot to 50ms (#15805)
Diffstat (limited to 'tmk_core')
-rw-r--r--tmk_core/protocol/chibios/usb_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tmk_core/protocol/chibios/usb_main.c b/tmk_core/protocol/chibios/usb_main.c
index ac46a9312b..541c44b574 100644
--- a/tmk_core/protocol/chibios/usb_main.c
+++ b/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);