Threshold seems to affect the CNAK retries needed.
Maybe it's not possible to change NAK while the DMA engine is active. Burst probably can't hurt. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27052 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
bf7e632e86
commit
f80c853c7e
1 changed files with 3 additions and 1 deletions
|
@ -271,7 +271,9 @@ void usb_drv_init(void)
|
|||
|
||||
USB_DEV_CTRL = USB_DEV_CTRL_DESC_UPDATE |
|
||||
USB_DEV_CTRL_THRES_ENABLE |
|
||||
USB_DEV_CTRL_BURST_ENABLE;
|
||||
USB_DEV_CTRL_BURST_ENABLE |
|
||||
USB_DEV_CTRL_BLEN_8DWORDS |
|
||||
USB_DEV_CTRL_TLEN_8THMAXSIZE;
|
||||
|
||||
USB_DEV_EP_INTR_MASK &= ~((1<<0) | (1<<16)); /* ep 0 */
|
||||
|
||||
|
|
Loading…
Reference in a new issue