diff options
| author | Jens Arnold <amiconn@rockbox.org> | 2008-04-13 12:24:47 +0000 |
|---|---|---|
| committer | Jens Arnold <amiconn@rockbox.org> | 2008-04-13 12:24:47 +0000 |
| commit | 2bf4178018930b8af6d7082f7dd1a3302e09932b (patch) | |
| tree | 3f6e2177e31f09157fc782d4239b944a6f6d8963 /apps/plugin.c | |
| parent | 4c5a735a023755cedc264a4cad89f1ab0c256e17 (diff) | |
| download | rockbox-2bf4178018930b8af6d7082f7dd1a3302e09932b.zip rockbox-2bf4178018930b8af6d7082f7dd1a3302e09932b.tar.gz rockbox-2bf4178018930b8af6d7082f7dd1a3302e09932b.tar.bz2 rockbox-2bf4178018930b8af6d7082f7dd1a3302e09932b.tar.xz | |
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 'apps/plugin.c')
| -rw-r--r-- | apps/plugin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugin.c b/apps/plugin.c index 7a8e0e0..a7baa6d3 100644 --- a/apps/plugin.c +++ b/apps/plugin.c @@ -234,8 +234,8 @@ static const struct plugin_api rockbox_api = { fdprintf, read_line, settings_parseline, -#ifndef SIMULATOR ata_sleep, +#ifndef SIMULATOR ata_disk_is_active, #endif ata_spin, |