Skip to content

fixed vendord_open's tud_vendor_n_write_flush when CFG_TUD_VENDOR > 1#3162

Merged
HiFiPhile merged 2 commits into
hathach:masterfrom
YixingShen:master
Jul 7, 2025
Merged

fixed vendord_open's tud_vendor_n_write_flush when CFG_TUD_VENDOR > 1#3162
HiFiPhile merged 2 commits into
hathach:masterfrom
YixingShen:master

Conversation

@YixingShen
Copy link
Copy Markdown
Contributor

fixed vendord_open's tud_vendor_n_write_flush argument.

tud_vendor_n_write_flush argument should be _vendord_itf array index (0,1,2,...),
but "p_vendor - _vendord_itf" is 0, sizeof(vendord_interface_t), 2*sizeof(vendord_interface_t), ....

tud_vendor_n_write_flush argument should be 0,1,2,..., but
p_vendor - _vendord_itf is 0, sizeof(vendord_interface_t), 2*sizeof(vendord_interface_t), ...
@YixingShen YixingShen changed the title fixed CFG_TUD_VENDOR > 1 vendord_open tud_vendor_n_write_flush fixed vendord_open's tud_vendor_n_write_flush when CFG_TUD_VENDOR > 1 Jul 6, 2025
Comment thread src/class/vendor/vendor_device.c Outdated
@HiFiPhile HiFiPhile merged commit a2ee6da into hathach:master Jul 7, 2025
78 of 79 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants