From 2bf4178018930b8af6d7082f7dd1a3302e09932b Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Sun, 13 Apr 2008 12:24:47 +0000 Subject: 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 --- apps/plugin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/plugin.c') 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, -- cgit v1.1