diff options
| author | Reinhard Panhuber <[email protected]> | 2021-02-23 19:50:54 +0100 |
|---|---|---|
| committer | Reinhard Panhuber <[email protected]> | 2021-02-23 19:50:54 +0100 |
| commit | c76e04f83584c55719a178b8308b3b2d0141b064 (patch) | |
| tree | 9dd7da67dca14a87c576b684a9461219b9c95384 /src | |
| parent | e223d46033ad9d947724130bf484147555caf83b (diff) | |
Add dcd_edpt_iso_xfer() to dcd_template.c
Diffstat (limited to 'src')
| -rw-r--r-- | src/portable/template/dcd_template.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/portable/template/dcd_template.c b/src/portable/template/dcd_template.c index 618812416..7a9a0ae22 100644 --- a/src/portable/template/dcd_template.c +++ b/src/portable/template/dcd_template.c @@ -25,6 +25,7 @@ */ #include "tusb_option.h" +#include "common/tusb_fifo.h" #if CFG_TUSB_MCU == OPT_MCU_NONE @@ -104,6 +105,16 @@ bool dcd_edpt_xfer (uint8_t rhport, uint8_t ep_addr, uint8_t * buffer, uint16_t return false; } +// Submit a transfer where is managed by FIFO, 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) +{ + (void) rhport; + (void) ep_addr; + (void) ff; + (void) total_bytes; + return false; +} + // Stall endpoint void dcd_edpt_stall (uint8_t rhport, uint8_t ep_addr) { |
