forked from len0rd/rockbox
Added support for 'deconfiguration'.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15799 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
d2b86885d5
commit
da245a9ae9
1 changed files with 4 additions and 1 deletions
|
|
@ -381,7 +381,10 @@ void usb_core_control_request(struct usb_ctrlrequest* req)
|
|||
usb_storage_control_request(req);
|
||||
#endif
|
||||
ack_control(req);
|
||||
usb_state = CONFIGURED;
|
||||
if (req->wValue)
|
||||
usb_state = CONFIGURED;
|
||||
else
|
||||
usb_state = ADDRESS;
|
||||
break;
|
||||
|
||||
case USB_REQ_GET_CONFIGURATION: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue