Fix missing pointer operator in dcd_nuc505.c

This commit is contained in:
Reinhard Panhuber 2021-02-17 22:49:10 +01:00
parent 94bf4f54da
commit 402005c9e0
1 changed files with 1 additions and 1 deletions

View File

@ -183,7 +183,7 @@ static void dcd_userEP_in_xfer(struct xfer_ctl_t *xfer, USBD_EP_T *ep)
/* provided buffers are thankfully 32-bit aligned, allowing most data to be transfered as 32-bit */
if (xfer->ff)
{
tu_fifo_read_n(xfer->ff, (void *) (ep->EPDAT_BYTE), bytes_now);
tu_fifo_read_n(xfer->ff, (void *) (&ep->EPDAT_BYTE), bytes_now);
}
else
{