mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 03:00:34 +03:00
fix(usb_host): Dont abort on unsupported client events
- suspend and resume client events
This commit is contained in:
@@ -95,6 +95,8 @@ static void msc_event_cb(const msc_host_event_t *event, void *arg)
|
||||
.id = APP_DEVICE_DISCONNECTED,
|
||||
};
|
||||
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