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/buffering.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'apps/buffering.c') diff --git a/apps/buffering.c b/apps/buffering.c index 99a4a3b..f123d8f 100644 --- a/apps/buffering.c +++ b/apps/buffering.c @@ -813,11 +813,9 @@ static bool fill_buffer(void) } else { -#ifndef SIMULATOR /* only spin the disk down if the filling wasn't interrupted by an event arriving in the queue. */ ata_sleep(); -#endif return false; } } -- cgit v1.1