Unverified Commit 93909f73 authored by Ha Thach's avatar Ha Thach Committed by GitHub

fix issue when s3 switch usb from cdc to jtag while reset to bootrom (#8880)

parent 76782f2c
......@@ -61,7 +61,12 @@ typedef struct {
static bool usb_otg_deinit(void * busptr) {
// Once USB OTG is initialized, its GPIOs are assigned and it shall never be deinited
// except when S3 swithicng usb from cdc to jtag while resetting to bootrom
#if CONFIG_IDF_TARGET_ESP32S3
return true;
#else
return false;
#endif
}
static void configure_pins(usb_hal_context_t *usb)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment