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:
parent
23b7e95770
commit
46573019a5
43 changed files with 142 additions and 26 deletions
|
@ -721,7 +721,7 @@ void settings_apply(bool read_disk)
|
|||
|
||||
sound_settings_apply();
|
||||
|
||||
#ifndef HAVE_FLASH_STORAGE
|
||||
#ifdef HAVE_DISK_STORAGE
|
||||
audio_set_buffer_margin(global_settings.buffer_margin);
|
||||
#endif
|
||||
|
||||
|
@ -767,7 +767,7 @@ void settings_apply(bool read_disk)
|
|||
#ifdef HAVE_BUTTON_LIGHT
|
||||
buttonlight_set_timeout(global_settings.buttonlight_timeout);
|
||||
#endif
|
||||
#ifndef HAVE_FLASH_STORAGE
|
||||
#ifdef HAVE_DISK_STORAGE
|
||||
ata_spindown(global_settings.disk_spindown);
|
||||
#endif
|
||||
#if (CONFIG_CODEC == MAS3507D) && !defined(SIMULATOR)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue