fix(usb_host): Update log level and error poropagation

This commit is contained in:
Peter Marcisovsky
2024-10-10 12:51:06 +02:00
committed by peter.marcisovsky
parent f02ee8ef5d
commit 7aece79530
4 changed files with 3 additions and 12 deletions
+1 -1
View File
@@ -574,7 +574,7 @@ static inline void handle_ep0_clear(device_t *dev_obj)
static inline void handle_prop_gone_evt(device_t *dev_obj)
{
// Flush EP0's pipe. Then propagate a USBH_EVENT_DEV_GONE event
ESP_LOGE(USBH_TAG, "Device %d gone", dev_obj->constant.address);
ESP_LOGD(USBH_TAG, "Device %d gone", dev_obj->constant.address);
usbh_event_data_t event_data = {
.event = USBH_EVENT_DEV_GONE,
.dev_gone_data = {