forked from espressif/esp-idf
usb_serial_jtag: remove the strict condition check in esp_phy
This commit is contained in:
@@ -613,13 +613,7 @@ void esp_phy_load_cal_and_init(void)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if CONFIG_ESP_PHY_ENABLE_USB
|
#if CONFIG_ESP_PHY_ENABLE_USB
|
||||||
#if CONFIG_ESP_CONSOLE_USB_SERIAL_JTAG || CONFIG_ESP_CONSOLE_SECONDARY_USB_SERIAL_JTAG
|
phy_bbpll_en_usb(true);
|
||||||
if (usb_serial_jtag_ll_txfifo_writable() == 1)
|
|
||||||
#endif // Only check usb_jtag status with usb_jtag related config options enabled.
|
|
||||||
{
|
|
||||||
// If the USB_SEIRAL_JTAG is really in use.
|
|
||||||
phy_bbpll_en_usb(true);
|
|
||||||
}
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_ESP32_PHY_CALIBRATION_AND_DATA_STORAGE
|
#ifdef CONFIG_ESP32_PHY_CALIBRATION_AND_DATA_STORAGE
|
||||||
|
Reference in New Issue
Block a user