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:
Frank Gevaerts 2009-08-11 21:01:00 +00:00
parent e9d81ba089
commit cc4be72d15

View file

@ -826,7 +826,7 @@ int usb_drv_request_endpoint(int type, int dir)
if (endpoint->allocated[other_dir] &&
endpoint->type[other_dir] != ep_type) {
logf("ep of different type!");
return -1;
continue;
}