usb-s3c6400x: Fix some more confusion between DEPCTL_stall and DEPCTL_naksts
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31458 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
ddd2edaa33
commit
0003018efe
1 changed files with 1 additions and 1 deletions
|
@ -272,7 +272,7 @@ static void ep_transfer(int ep, void *ptr, int length, int out)
|
|||
endpoints[ep].busy = true;
|
||||
endpoints[ep].size = length;
|
||||
if (out)
|
||||
DEPCTL(ep, out) &= ~DEPCTL_naksts;
|
||||
DEPCTL(ep, out) &= ~DEPCTL_stall;
|
||||
DEPCTL(ep, out) |= DEPCTL_usbactep;
|
||||
int blocksize = usb_drv_port_speed() ? 512 : 64;
|
||||
int packets = (length + blocksize - 1) / blocksize;
|
||||
|
|
Loading…
Reference in a new issue