summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2002-09-24 07:49:44 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2002-09-24 07:49:44 +0000
commit42f65b1c3095578e1a319ce6bf2900f182fb290d (patch)
tree4d7f5b7a1a8117f8784478b42a3bfcaf91466dbb /apps
parentf077710b86c611888fde6c3b01c870e87d6ce2e2 (diff)
downloadrockbox-42f65b1c3095578e1a319ce6bf2900f182fb290d.tar.gz
rockbox-42f65b1c3095578e1a319ce6bf2900f182fb290d.tar.bz2
rockbox-42f65b1c3095578e1a319ce6bf2900f182fb290d.zip
Now sets the poweroff timer when loading the settings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2380 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/settings.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/settings.c b/apps/settings.c
index 5b2991a8ef..61076836be 100644
--- a/apps/settings.c
+++ b/apps/settings.c
@@ -411,6 +411,7 @@ void settings_load(void)
lcd_scroll_speed(global_settings.scroll_speed);
backlight_time(global_settings.backlight);
ata_spindown(global_settings.disk_spindown);
+ set_poweroff_timeout(global_settings.poweroff);
#ifdef HAVE_CHARGE_CTRL
charge_restart_level = global_settings.discharge ? CHARGE_RESTART_LO : CHARGE_RESTART_HI;
#endif