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/settings.c | |
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/settings.c')
-rw-r--r-- | apps/settings.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/settings.c b/apps/settings.c index f598876818..709e05e086 100644 --- a/apps/settings.c +++ b/apps/settings.c | |||
@@ -721,7 +721,7 @@ void settings_apply(bool read_disk) | |||
721 | 721 | ||
722 | sound_settings_apply(); | 722 | sound_settings_apply(); |
723 | 723 | ||
724 | #ifndef HAVE_FLASH_STORAGE | 724 | #ifdef HAVE_DISK_STORAGE |
725 | audio_set_buffer_margin(global_settings.buffer_margin); | 725 | audio_set_buffer_margin(global_settings.buffer_margin); |
726 | #endif | 726 | #endif |
727 | 727 | ||
@@ -767,7 +767,7 @@ void settings_apply(bool read_disk) | |||
767 | #ifdef HAVE_BUTTON_LIGHT | 767 | #ifdef HAVE_BUTTON_LIGHT |
768 | buttonlight_set_timeout(global_settings.buttonlight_timeout); | 768 | buttonlight_set_timeout(global_settings.buttonlight_timeout); |
769 | #endif | 769 | #endif |
770 | #ifndef HAVE_FLASH_STORAGE | 770 | #ifdef HAVE_DISK_STORAGE |
771 | ata_spindown(global_settings.disk_spindown); | 771 | ata_spindown(global_settings.disk_spindown); |
772 | #endif | 772 | #endif |
773 | #if (CONFIG_CODEC == MAS3507D) && !defined(SIMULATOR) | 773 | #if (CONFIG_CODEC == MAS3507D) && !defined(SIMULATOR) |