hathach / tinyusb

An open source cross-platform USB stack for embedded system
https://www.tinyusb.org
MIT License
4.93k stars 1.03k forks source link

usbh: Set interface recipient should be interface #2680

Closed Ryzee119 closed 3 months ago

Ryzee119 commented 3 months ago

Describe the PR Probably just a simple typo. The recipient for tuh_interface_set() should be TUSB_REQ_RCPT_INTERFACE instead of TUSB_REQ_RCPT_DEVICE.

Additional context image