diff options
| author | hathach <[email protected]> | 2026-06-13 00:17:07 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2026-06-13 23:34:57 +0700 |
| commit | 06b8f4f013a6ce0d91d2f713c88313569d8a722c (patch) | |
| tree | fd1f88f490eedecc99edcc10b79b31099c5a32e5 /lib/rt-thread | |
| parent | 3d745ee9d62414e7bd0c255b833715c5261edeee (diff) | |
dcd/musb: extract pipe0_read_setup() helper
The 8-byte EP0 SETUP drain (count0 assert + two FIFO word reads via a
union) was duplicated verbatim between the IDLE case and the deferral
case; a future fix applied to one copy but not the other would only
show up on the rare deferred-race path. Share one helper. count0 is
now read inside the only remaining user (DATA OUT drain).
Review follow-up for #3643 (dcd_musb.c l.507 finding).
Co-Authored-By: Claude Fable 5 <[email protected]>
Diffstat (limited to 'lib/rt-thread')
0 files changed, 0 insertions, 0 deletions
