summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReinhard Panhuber <[email protected]>2021-02-17 22:52:59 +0100
committerReinhard Panhuber <[email protected]>2021-02-17 22:52:59 +0100
commitd8481ac7e40a2458a7df9394f487218ea35f6c2d (patch)
tree0d15549e709f74eccd9ce05872a554a5bd1dc74d
parent666e0fad358dfdbda01fadc2c04dee5de5a527c0 (diff)
Fix wrong pointer call in dcd_samg.c
-rw-r--r--src/portable/microchip/samg/dcd_samg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/portable/microchip/samg/dcd_samg.c b/src/portable/microchip/samg/dcd_samg.c
index 12b2633a0..1edbba629 100644
--- a/src/portable/microchip/samg/dcd_samg.c
+++ b/src/portable/microchip/samg/dcd_samg.c
@@ -440,7 +440,7 @@ void dcd_int_handler(uint8_t rhport)
// write to EP fifo
if (xfer->ff)
{
- tu_fifo_read_n(ff, (void *) &UDP->UDP_FDR[epnum], xact_len);
+ tu_fifo_read_n(xfer->ff, (void *) &UDP->UDP_FDR[epnum], xact_len);
}
else
{