mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Update tinyusb to the latest upstream version
This commit is contained in:
parent
526f682397
commit
958bfcbf59
@ -103,10 +103,9 @@ esp_err_t tinyusb_driver_install(const tinyusb_config_t *config)
|
||||
tusb_set_descriptor(descriptor,
|
||||
string_descriptor);
|
||||
|
||||
res = tusb_init();
|
||||
if (res != TUSB_ERROR_NONE) {
|
||||
ESP_LOGE(TAG, "Can't initialize the TinyUSB stack. TinyUSB error: %d", res);
|
||||
return res;
|
||||
if (!tusb_init()) {
|
||||
ESP_LOGE(TAG, "Can't initialize the TinyUSB stack.");
|
||||
return ESP_FAIL;
|
||||
}
|
||||
#if !CONFIG_USB_DO_NOT_CREATE_TASK
|
||||
res = tusb_run_task();
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit 6d66d6bb21f35aec8f7d00857862d3d025df80de
|
||||
Subproject commit 334e95fac52a607150157ae5199a19e11f843982
|
Loading…
Reference in New Issue
Block a user