Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
stm32g0xx: usb: fix stall on high load USB endpoints
Having two writes to clean and set COUNTn_RX and NUM_BLOCK results in a small windows in which COUNTn_RX and NUM_BLOCK are zero. This results in a stall as the buffer is empty (ready to receive) but also has no space to receive the package into. Signed-off-by: Jonas Martin <[email protected]>
- Loading branch information