diff options
| author | Reinhard Panhuber <[email protected]> | 2021-01-31 19:08:23 +0100 |
|---|---|---|
| committer | Reinhard Panhuber <[email protected]> | 2021-01-31 19:08:23 +0100 |
| commit | 84406f1654ca757ecd7294f4b98b56146583be49 (patch) | |
| tree | ccfdc6719a7d48781fe59e0b9284f4e64af0060f /src/device/usbd_pvt.h | |
| parent | f1551d7a5fe5faccad9c1ef3f5d374869a1874e6 (diff) | |
Rework audio driver
Diffstat (limited to 'src/device/usbd_pvt.h')
| -rw-r--r-- | src/device/usbd_pvt.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/device/usbd_pvt.h b/src/device/usbd_pvt.h index 1d24957a9..412a97a5d 100644 --- a/src/device/usbd_pvt.h +++ b/src/device/usbd_pvt.h @@ -73,7 +73,7 @@ void usbd_edpt_close(uint8_t rhport, uint8_t ep_addr); bool usbd_edpt_xfer(uint8_t rhport, uint8_t ep_addr, uint8_t * buffer, uint16_t total_bytes); // Submit a usb ISO transfer by use of a FIFO (ring buffer) - all bytes in FIFO get transmitted -bool usbd_edpt_iso_xfer(uint8_t rhport, uint8_t ep_addr, tu_fifo_t * ff); +bool usbd_edpt_iso_xfer(uint8_t rhport, uint8_t ep_addr, tu_fifo_t * ff, uint16_t total_bytes); // Claim an endpoint before submitting a transfer. // If caller does not make any transfer, it must release endpoint for others. |
