summaryrefslogtreecommitdiffstats
path: root/uisimulator
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2008-04-13 12:24:47 +0000
committerJens Arnold <amiconn@rockbox.org>2008-04-13 12:24:47 +0000
commit2bf4178018930b8af6d7082f7dd1a3302e09932b (patch)
tree3f6e2177e31f09157fc782d4239b944a6f6d8963 /uisimulator
parent4c5a735a023755cedc264a4cad89f1ab0c256e17 (diff)
downloadrockbox-2bf4178018930b8af6d7082f7dd1a3302e09932b.tar.gz
rockbox-2bf4178018930b8af6d7082f7dd1a3302e09932b.tar.bz2
rockbox-2bf4178018930b8af6d7082f7dd1a3302e09932b.zip
Make mpegplayer sleep the disk after buffering to save battery. * Add a simulator stub for ata_sleep(), and un-ifdef most calls to it.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17096 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator')
-rw-r--r--uisimulator/common/stubs.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/uisimulator/common/stubs.c b/uisimulator/common/stubs.c
index c40d10082c..18e7a242d0 100644
--- a/uisimulator/common/stubs.c
+++ b/uisimulator/common/stubs.c
@@ -108,6 +108,11 @@ void ata_spin(void)
{
}
+void ata_sleep(void)
+{
+ DEBUGF("ata_sleep()\n");
+}
+
void ata_spindown(int s)
{
(void)s;