forked from len0rd/rockbox
Experiment: enable ATA STANDBY when switching to USB mode
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3668 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
f70a41cdc6
commit
159d04d3f9
3 changed files with 29 additions and 0 deletions
|
@ -86,6 +86,7 @@ static void usb_slave_mode(bool on)
|
|||
DEBUGF("Entering USB slave mode\n");
|
||||
ata_soft_reset();
|
||||
ata_init();
|
||||
ata_standby(15);
|
||||
ata_enable(false);
|
||||
usb_enable(true);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue