diff options
| author | Yunhao Tian <[email protected]> | 2021-12-05 22:31:09 +0800 |
|---|---|---|
| committer | Yunhao Tian <[email protected]> | 2021-12-05 22:31:09 +0800 |
| commit | f308603a3aeffcf77e83d2cfb1c76a28e543272d (patch) | |
| tree | 43ea16e6f0c4b92c888be0d8b0c407bbeb2187e5 /src | |
| parent | 702698ee293727d31efb0c7134a15a261d878cb9 (diff) | |
Fix a typo that leads to incorrect RX handling
Diffstat (limited to 'src')
| -rw-r--r-- | src/portable/sunxi/dcd_sunxi_musb.c | 2 |
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; |
