We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
默认的USB_REQ_SET_INTERFACE处理中,在最后向主机响应了一个字节的数据: tusb_control_send(dev, &dev->temp_buffer, 1); 而USB_REQ_SET_INTERFACE的请求报文为01 0b 00 00,最后的长度域为00,就是不需要设备向主机响应数据的。 所以,默认的USB_REQ_SET_INTERFACE处理中,最后的响应应修改为: tusb_send_status(dev);
tusb_control_send(dev, &dev->temp_buffer, 1);
tusb_send_status(dev);
The text was updated successfully, but these errors were encountered:
Set interface request require status in. related to issue #20
1ba9236
感谢反馈,已修正。
Sorry, something went wrong.
No branches or pull requests
默认的USB_REQ_SET_INTERFACE处理中,在最后向主机响应了一个字节的数据:
tusb_control_send(dev, &dev->temp_buffer, 1);
而USB_REQ_SET_INTERFACE的请求报文为01 0b 00 00,最后的长度域为00,就是不需要设备向主机响应数据的。
所以,默认的USB_REQ_SET_INTERFACE处理中,最后的响应应修改为:
tusb_send_status(dev);
The text was updated successfully, but these errors were encountered: