Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Skip TXFE for EP0
Signed-off-by: HiFiPhile <admin@hifiphile.com>
  • Loading branch information
HiFiPhile committed Oct 31, 2025
commit be4b38c54dc4e23af322ae04eda1f30e5ced0289
3 changes: 2 additions & 1 deletion src/portable/synopsys/dwc2/dcd_dwc2.c
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,8 @@ static void edpt_schedule_packets(uint8_t rhport, const uint8_t epnum, const uin
const uint16_t xferred_bytes = epin_write_tx_fifo(rhport, epnum);

// Enable TXFE interrupt if there are still data to be sent
if (xfer->total_len - xferred_bytes > 0) {
// EP0 only sends one packet at a time, so no need to check for EP0
if ((epnum != 0) && (xfer->total_len - xferred_bytes > 0)) {
dwc2->diepempmsk |= (1u << epnum);
}
}
Expand Down
Loading