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:
@@ -67,9 +67,8 @@ static void handle_event(const cdc_acm_host_dev_event_data_t *event, void *user_
|
||||
case CDC_ACM_HOST_SERIAL_STATE:
|
||||
ESP_LOGI(TAG, "Serial state notif 0x%04X", event->data.serial_state.val);
|
||||
break;
|
||||
case CDC_ACM_HOST_NETWORK_CONNECTION:
|
||||
default:
|
||||
ESP_LOGW(TAG, "Unsupported CDC event: %i", event->type);
|
||||
ESP_LOGW(TAG, "Unsupported CDC event: %d (possibly suspend/resume)", event->type);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user