We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a55493 commit 3520a84Copy full SHA for 3520a84
cores/esp32/esp32-hal-tinyusb.c
@@ -165,7 +165,7 @@ void deinit_usb_hal() {
165
166
esp_err_t tinyusb_driver_install(const tinyusb_config_t *config) {
167
init_usb_hal(config->external_phy);
168
- if (!tusb_init()) {
+ if (!tusb_init(0, TUSB_ROLE_DEVICE)) {
169
log_e("Can't initialize the TinyUSB stack.");
170
return ESP_FAIL;
171
}
0 commit comments