mirror of
https://git.mirrors.martin98.com/https://github.com/luc-github/ESP3D.git
synced 2025-08-18 01:45:52 +08:00
Update esp32_usb_serial.cpp
This commit is contained in:
parent
b6a7add333
commit
ff3dff0ad6
@ -151,7 +151,7 @@ esp_err_t usb_serial_deinit() {
|
|||||||
// this one failed with ESP_ERR_INVALID_STATE if USB is connected
|
// this one failed with ESP_ERR_INVALID_STATE if USB is connected
|
||||||
if (ret != ESP_OK) {
|
if (ret != ESP_OK) {
|
||||||
ESP_LOGE("USB_SERIAL","Failed to unsinstall usb host %s",
|
ESP_LOGE("USB_SERIAL","Failed to unsinstall usb host %s",
|
||||||
esp_err_to_name(usb_host_uninstall()));
|
esp_err_to_name(ret));
|
||||||
}
|
}
|
||||||
// Deinitialize the internal USB PHY
|
// Deinitialize the internal USB PHY
|
||||||
ret = usb_del_phy(phy_hdl);
|
ret = usb_del_phy(phy_hdl);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user