summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjörn Stenberg <bjorn@haxx.se>2002-10-10 12:24:02 +0000
committerBjörn Stenberg <bjorn@haxx.se>2002-10-10 12:24:02 +0000
commit654affce84f81b0bc7b368d9d9111e5c6f3ac184 (patch)
tree8286871ff27928bc87808f0d4bd4e8652bfb2a5b
parent4d55c2f4b7c207d32dc0d6fd055627e08f2b0561 (diff)
Backlight-on-when-charging fix
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2559 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/settings.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/apps/settings.c b/apps/settings.c
index 0a3cd67d67..ab7cc9e101 100644
--- a/apps/settings.c
+++ b/apps/settings.c
@@ -368,9 +368,7 @@ void settings_apply(void)
lcd_set_contrast(global_settings.contrast);
lcd_scroll_speed(global_settings.scroll_speed);
backlight_set_timeout(global_settings.backlight_timeout);
-#ifdef HAVE_CHARGE_CTRL
backlight_set_on_when_charging(global_settings.backlight_on_when_charging);
-#endif
ata_spindown(global_settings.disk_spindown);
set_poweroff_timeout(global_settings.poweroff);
#ifdef HAVE_CHARGE_CTRL
@@ -657,9 +655,7 @@ void settings_reset(void) {
global_settings.contrast = DEFAULT_CONTRAST_SETTING;
global_settings.poweroff = DEFAULT_POWEROFF_SETTING;
global_settings.backlight_timeout = DEFAULT_BACKLIGHT_TIMEOUT_SETTING;
-#ifdef HAVE_CHARGE_CTRL
global_settings.backlight_on_when_charging = DEFAULT_BACKLIGHT_ON_WHEN_CHARGING_SETTING;
-#endif
global_settings.dirfilter = SHOW_MUSIC;
global_settings.sort_case = false;
global_settings.statusbar = true;