mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 21:22:39 -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 (!out)
|
||||||
{
|
{
|
||||||
if (endpoints[i].busy)
|
if (endpoints[ep].busy)
|
||||||
{
|
{
|
||||||
endpoints[i].busy = false;
|
endpoints[ep].busy = false;
|
||||||
endpoints[i].rc = 1;
|
endpoints[ep].rc = 1;
|
||||||
endpoints[i].done = true;
|
endpoints[ep].done = true;
|
||||||
semaphore_release(&endpoints[i].complete);
|
semaphore_release(&endpoints[ep].complete);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue