forked from len0rd/rockbox
Fix endpoint allocation
Flyspray: FS#10510 Author: Amaury Pouly git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22261 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
e9d81ba089
commit
cc4be72d15
1 changed files with 1 additions and 1 deletions
|
@ -826,7 +826,7 @@ int usb_drv_request_endpoint(int type, int dir)
|
||||||
if (endpoint->allocated[other_dir] &&
|
if (endpoint->allocated[other_dir] &&
|
||||||
endpoint->type[other_dir] != ep_type) {
|
endpoint->type[other_dir] != ep_type) {
|
||||||
logf("ep of different type!");
|
logf("ep of different type!");
|
||||||
return -1;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue