diff options
| author | hathach <[email protected]> | 2026-06-15 22:19:34 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2026-06-15 22:19:34 +0700 |
| commit | 3d9468152c44148c6881fb3f30ff3dae91a09b68 (patch) | |
| tree | 3c9d58b82d61ac95ca3371617c361e42ca042abb /src/class/printer | |
| parent | d4eeaf10cb1a95b6b74e18cd933c6320d31c2031 (diff) | |
dcd/musb: read EP0 SETUP into uint32_t[2], drop the double copy
pipe0_read_setup() copied the FIFO into a local union, then copied that
into the caller's struct. Read the two FIFO words straight into the
caller's uint32_t[2] (one copy) and cast to tusb_control_request_t* in
pipe0_start_setup(). pipe0.deferred_setup becomes uint32_t[2] so the
deferral path reads directly into it as well.
Verified: HIL pass on ek_tm4c123gxl and max32666fthr (13/13 each).
Co-Authored-By: Claude Fable 5 <[email protected]>
Diffstat (limited to 'src/class/printer')
0 files changed, 0 insertions, 0 deletions
