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