mirror of
https://github.com/hathach/tinyusb.git
synced 2025-03-28 16:20:26 +00:00
Fix a typo that leads to incorrect RX handling
This commit is contained in:
parent
702698ee29
commit
f308603a3a
@ -598,7 +598,7 @@ static bool handle_xfer_out(uint_fast8_t ep_addr)
|
|||||||
pipe->buf = buf + len;
|
pipe->buf = buf + len;
|
||||||
}
|
}
|
||||||
pipe->remaining = rem - len;
|
pipe->remaining = rem - len;
|
||||||
__USBC_Dev_ep0_ReadDataComplete();
|
__USBC_Dev_Rx_ReadDataComplete();
|
||||||
}
|
}
|
||||||
if ((len < mps) || (rem == len)) {
|
if ((len < mps) || (rem == len)) {
|
||||||
pipe->buf = NULL;
|
pipe->buf = NULL;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user