@@ -570,7 +570,7 @@ bool dcd_edpt_xfer (uint8_t rhport, uint8_t ep_addr, uint8_t * buffer, uint16_t
|
|||||||
xfer->queued_len = 0;
|
xfer->queued_len = 0;
|
||||||
xfer->fifo = NULL;
|
xfer->fifo = NULL;
|
||||||
|
|
||||||
if(EP_DMA_SUPPORT(epnum) && total_bytes != 0)
|
if (EP_DMA_SUPPORT(epnum) && total_bytes != 0)
|
||||||
{
|
{
|
||||||
uint32_t udd_dma_ctrl = USBHS_DEVDMACONTROL_BUFF_LENGTH(total_bytes);
|
uint32_t udd_dma_ctrl = USBHS_DEVDMACONTROL_BUFF_LENGTH(total_bytes);
|
||||||
if (dir == TUSB_DIR_OUT)
|
if (dir == TUSB_DIR_OUT)
|
||||||
|
|||||||
Reference in New Issue
Block a user