未验证 提交 0f57faa5 编写于 作者: B Bernard Xiong 提交者: GitHub

Merge pull request #3484 from qz721/master

修复USB不能正常识别composite设备的bug
......@@ -458,9 +458,6 @@ static rt_err_t _interface_handler(ufunction_t func, ureq_t setup)
struct hid_s *data = (struct hid_s *) func->user_data;
if(setup->wIndex != 0)
return -RT_EIO;
switch (setup->bRequest)
{
case USB_REQ_GET_DESCRIPTOR:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册