diff options
author | Nils Wallménius <nils@rockbox.org> | 2007-08-01 08:50:44 +0000 |
---|---|---|
committer | Nils Wallménius <nils@rockbox.org> | 2007-08-01 08:50:44 +0000 |
commit | 0bfa3e76ce8f2c5465ff568b7f4dcf7b5fbb462f (patch) | |
tree | d84ec59c3b9fc00ce46329c01a66b8da46b0e204 /apps/settings.c | |
parent | 3b3fd4997ee32cf5b0bc7cf07b3ac9a73cbcb388 (diff) | |
download | rockbox-0bfa3e76ce8f2c5465ff568b7f4dcf7b5fbb462f.tar.gz rockbox-0bfa3e76ce8f2c5465ff568b7f4dcf7b5fbb462f.zip |
Disable 'Disk spindown' and 'Anti skip buffer' settings and some related stuff for flash storage targets as they make no sense
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14110 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/settings.c')
-rw-r--r-- | apps/settings.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/settings.c b/apps/settings.c index 0cf38266a6..958c410af8 100644 --- a/apps/settings.c +++ b/apps/settings.c | |||
@@ -658,7 +658,9 @@ void settings_apply(void) | |||
658 | DEBUGF( "settings_apply()\n" ); | 658 | DEBUGF( "settings_apply()\n" ); |
659 | sound_settings_apply(); | 659 | sound_settings_apply(); |
660 | 660 | ||
661 | #ifndef HAVE_FLASH_STORAGE | ||
661 | audio_set_buffer_margin(global_settings.buffer_margin); | 662 | audio_set_buffer_margin(global_settings.buffer_margin); |
663 | #endif | ||
662 | 664 | ||
663 | #ifdef HAVE_LCD_CONTRAST | 665 | #ifdef HAVE_LCD_CONTRAST |
664 | lcd_set_contrast(global_settings.contrast); | 666 | lcd_set_contrast(global_settings.contrast); |
@@ -702,7 +704,9 @@ void settings_apply(void) | |||
702 | #ifdef HAVE_BUTTON_LIGHT | 704 | #ifdef HAVE_BUTTON_LIGHT |
703 | button_backlight_set_timeout(global_settings.button_light_timeout); | 705 | button_backlight_set_timeout(global_settings.button_light_timeout); |
704 | #endif | 706 | #endif |
707 | #ifndef HAVE_FLASH_STORAGE | ||
705 | ata_spindown(global_settings.disk_spindown); | 708 | ata_spindown(global_settings.disk_spindown); |
709 | #endif | ||
706 | #if (CONFIG_CODEC == MAS3507D) && !defined(SIMULATOR) | 710 | #if (CONFIG_CODEC == MAS3507D) && !defined(SIMULATOR) |
707 | dac_line_in(global_settings.line_in); | 711 | dac_line_in(global_settings.line_in); |
708 | #endif | 712 | #endif |