mirror of
https://github.com/hathach/tinyusb.git
synced 2025-02-23 00:40:12 +00:00
Fix missing pointer operator in dcd_nuc505.c
This commit is contained in:
parent
94bf4f54da
commit
402005c9e0
@ -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 */
|
/* provided buffers are thankfully 32-bit aligned, allowing most data to be transfered as 32-bit */
|
||||||
if (xfer->ff)
|
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
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user