summaryrefslogtreecommitdiff
path: root/firmware/usb.c
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2003-05-10 01:55:23 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2003-05-10 01:55:23 +0000
commit159d04d3f9cae914d5ebdab762d78f24d15eda52 (patch)
treed8dc0e29f2c07440043ad0af6c5a5bbfc40d529a /firmware/usb.c
parentf70a41cdc66d260b8a0bb5c933c398df94333bb6 (diff)
Experiment: enable ATA STANDBY when switching to USB mode
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3668 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/usb.c')
-rw-r--r--firmware/usb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/firmware/usb.c b/firmware/usb.c
index fcc06c2f6e..1efecb8705 100644
--- a/firmware/usb.c
+++ b/firmware/usb.c
@@ -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);
}