summaryrefslogtreecommitdiff
path: root/src/portable
diff options
context:
space:
mode:
authorYunhao Tian <[email protected]>2021-12-05 22:31:09 +0800
committerYunhao Tian <[email protected]>2021-12-05 22:31:09 +0800
commitf308603a3aeffcf77e83d2cfb1c76a28e543272d (patch)
tree43ea16e6f0c4b92c888be0d8b0c407bbeb2187e5 /src/portable
parent702698ee293727d31efb0c7134a15a261d878cb9 (diff)
Fix a typo that leads to incorrect RX handling
Diffstat (limited to 'src/portable')
-rw-r--r--src/portable/sunxi/dcd_sunxi_musb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/portable/sunxi/dcd_sunxi_musb.c b/src/portable/sunxi/dcd_sunxi_musb.c
index ecc076658..420ce1de0 100644
--- a/src/portable/sunxi/dcd_sunxi_musb.c
+++ b/src/portable/sunxi/dcd_sunxi_musb.c
@@ -598,7 +598,7 @@ static bool handle_xfer_out(uint_fast8_t ep_addr)
pipe->buf = buf + len;
}
pipe->remaining = rem - len;
- __USBC_Dev_ep0_ReadDataComplete();
+ __USBC_Dev_Rx_ReadDataComplete();
}
if ((len < mps) || (rem == len)) {
pipe->buf = NULL;