mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-03 03:31:41 +03:00
fix(usb_host): Dont abort on unsupported client events
- suspend and resume client events
This commit is contained in:
@@ -264,6 +264,8 @@ static void msc_event_cb(const msc_host_event_t *event, void *arg)
|
||||
.data.device_handle = event->device.handle,
|
||||
};
|
||||
xQueueSend(app_queue, &message, portMAX_DELAY);
|
||||
} else {
|
||||
ESP_LOGW(TAG, "Unsupported MSC event: %d (possibly suspend/resume)", event->event);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user