Version 0.10

This commit is contained in:
NIIBE Yutaka
2015-09-15 10:39:36 +09:00
parent 8fed803085
commit a30a069ed8
6 changed files with 25 additions and 5 deletions

View File

@@ -727,7 +727,7 @@ static int std_set_interface (uint8_t req, struct control_info *detail)
if ((req & REQUEST_DIR) == 1 || rcp != INTERFACE_RECIPIENT
|| detail->len != 0 || (detail->index >> 8) != 0
|| (detail->value >> 8) != 0 || dev_p->current_configuration != 0)
|| (detail->value >> 8) != 0 || dev_p->current_configuration == 0)
return USB_UNSUPPORT;
return usb_cb_interface (USB_SET_INTERFACE, detail);