forked from len0rd/rockbox
usb-drv-as3525v2: move interrupt disable
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31486 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
61f64d93ee
commit
12a45549f6
1 changed files with 2 additions and 1 deletions
|
@ -239,9 +239,10 @@ void usb_drv_init(void)
|
|||
|
||||
void usb_drv_exit(void)
|
||||
{
|
||||
DCTL = DCTL_pwronprgdone | DCTL_sftdiscon;
|
||||
|
||||
VIC_INT_EN_CLEAR = INTERRUPT_USB;
|
||||
|
||||
DCTL = DCTL_pwronprgdone | DCTL_sftdiscon;
|
||||
sleep(HZ/20);
|
||||
|
||||
CGU_USB = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue