mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 13:12:37 -05:00
usb-s3c6400: fix more index / endpoint number confusion
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31237 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
9c19e875fc
commit
3b00460701
1 changed files with 5 additions and 5 deletions
|
|
@ -192,12 +192,12 @@ static void handle_ep_int(int out)
|
|||
{
|
||||
if (!out)
|
||||
{
|
||||
if (endpoints[i].busy)
|
||||
if (endpoints[ep].busy)
|
||||
{
|
||||
endpoints[i].busy = false;
|
||||
endpoints[i].rc = 1;
|
||||
endpoints[i].done = true;
|
||||
semaphore_release(&endpoints[i].complete);
|
||||
endpoints[ep].busy = false;
|
||||
endpoints[ep].rc = 1;
|
||||
endpoints[ep].done = true;
|
||||
semaphore_release(&endpoints[ep].complete);
|
||||
}
|
||||
}
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue