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 e23fc81 commit 423527bCopy full SHA for 423527b
device/esp_tinyusb/tinyusb_task.c
@@ -87,9 +87,12 @@ static void tinyusb_device_task(void *arg)
87
// Workaround for changing the bvalid override in the tinyusb v0.19.0
88
if (task_ctx->rhport == TINYUSB_PORT_FULL_SPEED_0) {
89
USB_DWC_FS.gotgctl_reg.bvalidoven = 0;
90
- } else {
+ }
91
+#if (SOC_USB_OTG_PERIPH_NUM > 1)
92
+ else if (task_ctx->rhport == TINYUSB_PORT_HIGH_SPEED_0) {
93
USB_DWC_HS.gotgctl_reg.bvalidoven = 0;
94
}
95
+#endif // SOC_USB_OTG_PERIPH_NUM > 1
96
#endif // TUSB_VERSION_NUMBER >= 1900
97
98
#if (CONFIG_IDF_TARGET_ESP32P4)
0 commit comments