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 190eca3 commit 898f881Copy full SHA for 898f881
components/usb/hcd_dwc.c
@@ -390,13 +390,11 @@ static inline bool _buffer_check_done(pipe_t *pipe)
390
if (pipe->ep_char.type != USB_DWC_XFER_TYPE_CTRL) {
391
return true;
392
}
393
-#if (CONFIG_IDF_TARGET_ESP32S2 || CONFIG_IDF_TARGET_ESP32S3)
394
// The HW can't handle two transactions with preamble in one frame.
395
// TODO: IDF-12986
396
if (pipe->ep_char.ls_via_fs_hub) {
397
esp_rom_delay_us(1000);
398
399
-#endif // CONFIG_IDF_TARGET_ESP32S2 || CONFIG_IDF_TARGET_ESP32S3
400
dma_buffer_block_t *buffer_inflight = pipe->buffers[pipe->multi_buffer_control.rd_idx];
401
return (buffer_inflight->flags.ctrl.cur_stg == 2);
402
0 commit comments