From 0bfa3e76ce8f2c5465ff568b7f4dcf7b5fbb462f Mon Sep 17 00:00:00 2001 From: Nils Wallménius Date: Wed, 1 Aug 2007 08:50:44 +0000 Subject: Disable 'Disk spindown' and 'Anti skip buffer' settings and some related stuff for flash storage targets as they make no sense git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14110 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/video.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'apps/plugins/video.c') diff --git a/apps/plugins/video.c b/apps/plugins/video.c index b56a9d0612..aca960f56e 100644 --- a/apps/plugins/video.c +++ b/apps/plugins/video.c @@ -650,8 +650,11 @@ int PlayTick(int fd) * gFileHdr.bps_peak / 8 / HZ; } - if (!gPlay.bRefilling - && rb->global_settings->disk_spindown < 20) /* condition for test only */ + if (!gPlay.bRefilling +#ifndef HAVE_FLASH_STORAGE + && rb->global_settings->disk_spindown < 20 /* condition for test only */ +#endif + ) { rb->ata_sleep(); /* no point in leaving the disk run til timeout */ gPlay.bDiskSleep = true; -- cgit v1.2.3