forked from len0rd/rockbox
MPIO HD200, HD300: Make USB bridge handling more correct (this doesn't solve problems with USB inside rockbox on HD300 unfortunately).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28780 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
14b3108fa5
commit
0358e7b864
3 changed files with 20 additions and 24 deletions
|
|
@ -492,6 +492,7 @@ void main(void)
|
|||
/* init USB */
|
||||
ide_power_enable(true);
|
||||
sleep(HZ/20);
|
||||
ata_enable(false);
|
||||
usb_enable(true);
|
||||
}
|
||||
|
||||
|
|
@ -512,6 +513,7 @@ void main(void)
|
|||
{
|
||||
/* disable USB */
|
||||
usb_enable(false);
|
||||
ata_enable(true);
|
||||
sleep(HZ);
|
||||
ide_power_enable(false);
|
||||
sleep(HZ);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue