From 978eec73b350ae5a52e47036c0dec163172944fa Mon Sep 17 00:00:00 2001 From: hathach Date: Fri, 10 Apr 2020 15:39:59 +0700 Subject: [PATCH] remove 100us delay at the end of dcd_init() --- src/portable/espressif/esp32s2/dcd_esp32s2.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/portable/espressif/esp32s2/dcd_esp32s2.c b/src/portable/espressif/esp32s2/dcd_esp32s2.c index 328ec2fb9..26895c204 100644 --- a/src/portable/espressif/esp32s2/dcd_esp32s2.c +++ b/src/portable/espressif/esp32s2/dcd_esp32s2.c @@ -198,8 +198,6 @@ void dcd_init(uint8_t rhport) ESP_LOGV(TAG, "DCD init - Soft CONNECT"); USB0.dctl &= ~USB_SFTDISCON_M; // Connect - - ets_delay_us(100); } void dcd_set_address(uint8_t rhport, uint8_t dev_addr)