summaryrefslogtreecommitdiff
path: root/apps/plugins/video.c
diff options
context:
space:
mode:
authorFrank Gevaerts <frank@gevaerts.be>2008-10-07 19:37:33 +0000
committerFrank Gevaerts <frank@gevaerts.be>2008-10-07 19:37:33 +0000
commit46573019a53dca411f754d40d0f21c1e4eafaedf (patch)
treefa2f3baf19b8bc7ed25b709c7dda76272e85a57c /apps/plugins/video.c
parent23b7e957708ff7272ed10cbeae24cf9fd7d7ad65 (diff)
downloadrockbox-46573019a53dca411f754d40d0f21c1e4eafaedf.zip
rockbox-46573019a53dca411f754d40d0f21c1e4eafaedf.tar.gz
rockbox-46573019a53dca411f754d40d0f21c1e4eafaedf.tar.bz2
rockbox-46573019a53dca411f754d40d0f21c1e4eafaedf.tar.xz
add HAVE_DISK_STORAGE, and use that instead of HAVE_FLASH_STORAGE when checking for an actual disk (i.e. related to spindown, skipping,...)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18735 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/video.c')
-rw-r--r--apps/plugins/video.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/video.c b/apps/plugins/video.c
index fbd05bd..6a380b8 100644
--- a/apps/plugins/video.c
+++ b/apps/plugins/video.c
@@ -656,7 +656,7 @@ int PlayTick(int fd)
}
if (!gPlay.bRefilling
-#ifndef HAVE_FLASH_STORAGE
+#ifdef HAVE_DISK_STORAGE
&& rb->global_settings->disk_spindown < 20 /* condition for test only */
#endif
)