summaryrefslogtreecommitdiff
path: root/examples/device/hid_multiple_interface
diff options
context:
space:
mode:
authorhathach <[email protected]>2026-06-19 23:00:55 +0700
committerhathach <[email protected]>2026-06-19 23:08:39 +0700
commit31543c17a9c15c1c6e9a6c8d39be10aaa184e4f1 (patch)
tree57187a0eee0dcc48903d430d7cca05a72d95d045 /examples/device/hid_multiple_interface
parent9aa0ab4b675ab2c3880cb5ed440d3d04b944f77f (diff)
dcd/ch58x: preserve the DEV_ADDR general-purpose bit on SET_ADDRESS
dcd_edpt0_status_complete() wrote the full SET_ADDRESS wValue into R8_USB_DEV_AD, clobbering bit 7, which on CH58x is a user general-purpose flag (only bits [6:0] are the device address). Mask to 7 bits and preserve bit 7, matching the removed dcd_ch58x_usbfs.c. CH58x-scoped; other parts keep the full write. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Diffstat (limited to 'examples/device/hid_multiple_interface')
0 files changed, 0 insertions, 0 deletions