diff options
| author | Reinhard Panhuber <[email protected]> | 2021-02-17 22:49:10 +0100 |
|---|---|---|
| committer | Reinhard Panhuber <[email protected]> | 2021-02-17 22:49:10 +0100 |
| commit | 402005c9e0804ef71606edd0490b3f853ca85593 (patch) | |
| tree | e71d43c4abcf221dbb8ed06e9ea2b6124ef34240 | |
| parent | 94bf4f54dae23f0b0fcd660f0afae374f8e141d5 (diff) | |
Fix missing pointer operator in dcd_nuc505.c
| -rw-r--r-- | src/portable/nuvoton/nuc505/dcd_nuc505.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/portable/nuvoton/nuc505/dcd_nuc505.c b/src/portable/nuvoton/nuc505/dcd_nuc505.c index 3641b7047..0a690d84d 100644 --- a/src/portable/nuvoton/nuc505/dcd_nuc505.c +++ b/src/portable/nuvoton/nuc505/dcd_nuc505.c @@ -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 { |
