diff options
author | Frank Gevaerts <frank@gevaerts.be> | 2008-10-07 19:37:33 +0000 |
---|---|---|
committer | Frank Gevaerts <frank@gevaerts.be> | 2008-10-07 19:37:33 +0000 |
commit | 46573019a53dca411f754d40d0f21c1e4eafaedf (patch) | |
tree | fa2f3baf19b8bc7ed25b709c7dda76272e85a57c /apps/plugins/mpegplayer/stream_mgr.h | |
parent | 23b7e957708ff7272ed10cbeae24cf9fd7d7ad65 (diff) | |
download | rockbox-46573019a53dca411f754d40d0f21c1e4eafaedf.tar.gz rockbox-46573019a53dca411f754d40d0f21c1e4eafaedf.zip |
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/mpegplayer/stream_mgr.h')
-rw-r--r-- | apps/plugins/mpegplayer/stream_mgr.h | 2 |
1 files changed, 1 insertions, 1 deletions
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) */ |
153 | static inline void stream_keep_disk_active(void) | 153 | static 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 | } |