From 0bfa3e76ce8f2c5465ff568b7f4dcf7b5fbb462f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nils=20Wallm=C3=A9nius?= 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/jpeg.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/plugins/jpeg.c') diff --git a/apps/plugins/jpeg.c b/apps/plugins/jpeg.c index 54c8c6c..ad56475 100644 --- a/apps/plugins/jpeg.c +++ b/apps/plugins/jpeg.c @@ -2541,7 +2541,7 @@ int show_menu(void) /* return 1 to quit */ break; } -#ifndef SIMULATOR +#if !defined(SIMULATOR) && !defined(HAVE_FLASH_STORAGE) /* change ata spindown time based on slideshow time setting */ immediate_ata_off = false; rb->ata_spindown(rb->global_settings->disk_spindown); @@ -3325,7 +3325,7 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter) } #endif -#ifndef SIMULATOR +#if !defined(SIMULATOR) && !defined(HAVE_FLASH_STORAGE) /* set back ata spindown time in case we changed it */ rb->ata_spindown(rb->global_settings->disk_spindown); #endif -- cgit v1.1