1
0
Fork 0
forked from len0rd/rockbox

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
This commit is contained in:
Frank Gevaerts 2008-10-07 19:37:33 +00:00
parent 23b7e95770
commit 46573019a5
43 changed files with 142 additions and 26 deletions

View file

@ -152,7 +152,7 @@ static inline bool stream_can_seek(void)
/* Keep the disk spinning (for seeking and browsing) */
static inline void stream_keep_disk_active(void)
{
#ifndef HAVE_FLASH_STORAGE
#ifdef HAVE_DISK_STORAGE
rb->ata_spin();
#endif
}