summaryrefslogtreecommitdiff
path: root/src/portable
diff options
context:
space:
mode:
authorReinhard Panhuber <[email protected]>2021-02-12 16:28:41 +0100
committerReinhard Panhuber <[email protected]>2021-02-12 16:28:41 +0100
commita9fd0a454a96c599cb42f741c2e3e893b6c7306c (patch)
treea408f4a9c6f2600751a7fc7b44c94d78784709c6 /src/portable
parent84406f1654ca757ecd7294f4b98b56146583be49 (diff)
Complete redesign of audio driver.
Diffstat (limited to 'src/portable')
-rw-r--r--src/portable/st/synopsys/dcd_synopsys.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/portable/st/synopsys/dcd_synopsys.c b/src/portable/st/synopsys/dcd_synopsys.c
index 4cb6028cc..b6dacd927 100644
--- a/src/portable/st/synopsys/dcd_synopsys.c
+++ b/src/portable/st/synopsys/dcd_synopsys.c
@@ -697,14 +697,6 @@ bool dcd_edpt_iso_xfer (uint8_t rhport, uint8_t ep_addr, tu_fifo_t * ff, uint16_
tu_fifo_set_copy_mode_read(ff, TU_FIFO_COPY_CST);
}
- // EP0 can only handle one packet
- if(epnum == 0) {
- ep0_pending[dir] = total_bytes;
- // Schedule the first transaction for EP0 transfer
- edpt_schedule_packets(rhport, epnum, dir, 1, ep0_pending[dir]);
- return true;
- }
-
uint16_t num_packets = (total_bytes / xfer->max_size);
uint8_t const short_packet_size = total_bytes % xfer->max_size;