mirror of
https://github.com/espressif/esp-idf.git
synced 2025-07-30 18:57:19 +02:00
Merge branch 'feature/update_tinyusb' into 'master'
tinyusb: Update tinyusb to the latest upstream version See merge request espressif/esp-idf!11931
This commit is contained in:
@ -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();
|
||||
|
Submodule components/tinyusb/tinyusb updated: 6d66d6bb21...334e95fac5
Reference in New Issue
Block a user