summaryrefslogtreecommitdiff
path: root/src/device
diff options
context:
space:
mode:
authorReinhard Panhuber <[email protected]>2021-03-02 20:00:39 +0100
committerReinhard Panhuber <[email protected]>2021-03-02 20:00:39 +0100
commit7b8a08d2e1519afba6045e2a77898afecb1943e1 (patch)
treef45be58543ed1d4110f027c501400dfe1a3f8ec3 /src/device
parentc8b6d9b9906f8185ef6edb84962446328c9f68cb (diff)
Rename dcd_edpt_iso_xfer() to dcd_edpt_xfer_fifo()
Diffstat (limited to 'src/device')
-rw-r--r--src/device/dcd.h2
-rw-r--r--src/device/usbd.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/device/dcd.h b/src/device/dcd.h
index f0a552434..89f8760d0 100644
--- a/src/device/dcd.h
+++ b/src/device/dcd.h
@@ -135,7 +135,7 @@ void dcd_edpt_close (uint8_t rhport, uint8_t ep_addr) TU_ATTR_WEAK;
bool dcd_edpt_xfer (uint8_t rhport, uint8_t ep_addr, uint8_t * buffer, uint16_t total_bytes);
// Submit an ISO transfer, When complete dcd_event_xfer_complete() is invoked to notify the stack
-bool dcd_edpt_iso_xfer (uint8_t rhport, uint8_t ep_addr, tu_fifo_t * ff, uint16_t total_bytes);
+bool dcd_edpt_xfer_fifo (uint8_t rhport, uint8_t ep_addr, tu_fifo_t * ff, uint16_t total_bytes);
// Stall endpoint
void dcd_edpt_stall (uint8_t rhport, uint8_t ep_addr);
diff --git a/src/device/usbd.c b/src/device/usbd.c
index c087e2b38..1879729e8 100644
--- a/src/device/usbd.c
+++ b/src/device/usbd.c
@@ -1246,7 +1246,7 @@ bool usbd_edpt_iso_xfer(uint8_t rhport, uint8_t ep_addr, tu_fifo_t * ff, uint16_
// and usbd task can preempt and clear the busy
_usbd_dev.ep_status[epnum][dir].busy = true;
- if (dcd_edpt_iso_xfer(rhport, ep_addr, ff, total_bytes))
+ if (dcd_edpt_xfer_fifo(rhport, ep_addr, ff, total_bytes))
{
TU_LOG2("OK\r\n");
return true;