summaryrefslogtreecommitdiff
path: root/apps/plugins/video.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/video.c')
-rw-r--r--apps/plugins/video.c7
1 files changed, 5 insertions, 2 deletions
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)
650 * gFileHdr.bps_peak / 8 / HZ; 650 * gFileHdr.bps_peak / 8 / HZ;
651 } 651 }
652 652
653 if (!gPlay.bRefilling 653 if (!gPlay.bRefilling
654 && rb->global_settings->disk_spindown < 20) /* condition for test only */ 654#ifndef HAVE_FLASH_STORAGE
655 && rb->global_settings->disk_spindown < 20 /* condition for test only */
656#endif
657 )
655 { 658 {
656 rb->ata_sleep(); /* no point in leaving the disk run til timeout */ 659 rb->ata_sleep(); /* no point in leaving the disk run til timeout */
657 gPlay.bDiskSleep = true; 660 gPlay.bDiskSleep = true;