summaryrefslogtreecommitdiff
path: root/apps/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins')
-rw-r--r--apps/plugins/jpeg.c4
-rw-r--r--apps/plugins/mpegplayer/stream_mgr.h2
-rw-r--r--apps/plugins/video.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/apps/plugins/jpeg.c b/apps/plugins/jpeg.c
index b43dee5d74..397fab7bd6 100644
--- a/apps/plugins/jpeg.c
+++ b/apps/plugins/jpeg.c
@@ -2633,7 +2633,7 @@ int show_menu(void) /* return 1 to quit */
2633 break; 2633 break;
2634 } 2634 }
2635 2635
2636#if !defined(SIMULATOR) && !defined(HAVE_FLASH_STORAGE) 2636#if !defined(SIMULATOR) && defined(HAVE_DISK_STORAGE)
2637 /* change ata spindown time based on slideshow time setting */ 2637 /* change ata spindown time based on slideshow time setting */
2638 immediate_ata_off = false; 2638 immediate_ata_off = false;
2639 rb->ata_spindown(rb->global_settings->disk_spindown); 2639 rb->ata_spindown(rb->global_settings->disk_spindown);
@@ -3412,7 +3412,7 @@ enum plugin_status plugin_start(const struct plugin_api* api, const void* parame
3412 ARRAYLEN(jpeg_config), JPEG_SETTINGS_VERSION); 3412 ARRAYLEN(jpeg_config), JPEG_SETTINGS_VERSION);
3413 } 3413 }
3414 3414
3415#if !defined(SIMULATOR) && !defined(HAVE_FLASH_STORAGE) 3415#if !defined(SIMULATOR) && defined(HAVE_DISK_STORAGE)
3416 /* set back ata spindown time in case we changed it */ 3416 /* set back ata spindown time in case we changed it */
3417 rb->ata_spindown(rb->global_settings->disk_spindown); 3417 rb->ata_spindown(rb->global_settings->disk_spindown);
3418#endif 3418#endif
diff --git a/apps/plugins/mpegplayer/stream_mgr.h b/apps/plugins/mpegplayer/stream_mgr.h
index 71a3fd51c6..c94fa84089 100644
--- a/apps/plugins/mpegplayer/stream_mgr.h
+++ b/apps/plugins/mpegplayer/stream_mgr.h
@@ -152,7 +152,7 @@ static inline bool stream_can_seek(void)
152/* Keep the disk spinning (for seeking and browsing) */ 152/* Keep the disk spinning (for seeking and browsing) */
153static inline void stream_keep_disk_active(void) 153static inline void stream_keep_disk_active(void)
154{ 154{
155#ifndef HAVE_FLASH_STORAGE 155#ifdef HAVE_DISK_STORAGE
156 rb->ata_spin(); 156 rb->ata_spin();
157#endif 157#endif
158 } 158 }
diff --git a/apps/plugins/video.c b/apps/plugins/video.c
index fbd05bd006..6a380b8e3c 100644
--- a/apps/plugins/video.c
+++ b/apps/plugins/video.c
@@ -656,7 +656,7 @@ int PlayTick(int fd)
656 } 656 }
657 657
658 if (!gPlay.bRefilling 658 if (!gPlay.bRefilling
659#ifndef HAVE_FLASH_STORAGE 659#ifdef HAVE_DISK_STORAGE
660 && rb->global_settings->disk_spindown < 20 /* condition for test only */ 660 && rb->global_settings->disk_spindown < 20 /* condition for test only */
661#endif 661#endif
662 ) 662 )