summaryrefslogtreecommitdiff
path: root/src/class/printer
diff options
context:
space:
mode:
authorhathach <[email protected]>2026-03-18 19:04:13 +0700
committerhathach <[email protected]>2026-03-18 19:04:13 +0700
commit88196051e8bd89b282fda8d395f4c333425a91b1 (patch)
tree01f49438c983ff582678a6d60ad1fc9eea5362d4 /src/class/printer
parent151a5ad1984a9706aedbe9d26411c33202760007 (diff)
fix bugs in fsdev hcd, dcd and midi host stream write
- hcd_edpt_clear_stall: use ep_addr instead of hardcoded 0 (control endpoint) - hcd: add TUP_USBIP_FSDEV_DRD define for MCUs with host support (C0, G0, H5, U3, U5) and use it in hcd compile guard instead of enumerating MCUs - dcd_edpt_close_all: use FSDEV_EP_COUNT instead of CFG_TUD_ENDPPOINT_MAX for PMA btable offset to match handle_bus_reset - midi host tuh_midi_stream_write: add missing cable_num to system messages, SysEx, and real-time MIDI packets. Add 0xF mask for SysEx CIN checks. Aligns with midi_device.c tud_midi_n_stream_write implementation. Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
Diffstat (limited to 'src/class/printer')
0 files changed, 0 insertions, 0 deletions