diff options
| author | hathach <[email protected]> | 2026-06-13 23:26:23 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2026-06-13 23:34:57 +0700 |
| commit | c8c63c30617d23bb604affcad423acbb11f8d10d (patch) | |
| tree | 5fe1b42b9a706f366e9e61f33066cf9748e4b5a2 /examples/device/hid_multiple_interface/src/main.c | |
| parent | e47eabd49d1838dc2a4eb42b9bd167a1d24d7cf5 (diff) | |
dcd/musb: clear rxrdy_consumed when stalling EP0
The actual-STALL path (no deferred SETUP) forced EP0 to IDLE but left
rxrdy_consumed set if the aborted transfer had parked RXRDY via NAK flow
control (e.g. a rejected OUT-data request in DATA_OUT). A subsequent
SETUP IRQ would then hit the parked-gate early return and be ignored,
relying on SentStall/SetupEnd to clear the flag first. Clear it here
so recovery never depends on that ordering.
Addresses Copilot review on #3699.
Co-Authored-By: Claude Fable 5 <[email protected]>
Diffstat (limited to 'examples/device/hid_multiple_interface/src/main.c')
0 files changed, 0 insertions, 0 deletions
