Parcourir la source

remove 100us delay at the end of dcd_init()

hathach il y a 6 ans
Parent
commit
978eec73b3
1 fichiers modifiés avec 0 ajouts et 2 suppressions
  1. 0 2
      src/portable/espressif/esp32s2/dcd_esp32s2.c

+ 0 - 2
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)