Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions components/drivers/usb/usbdevice/class/hid.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down