Now sets the poweroff timer when loading the settings

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2380 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Linus Nielsen Feltzing 2002-09-24 07:49:44 +00:00
parent f077710b86
commit 42f65b1c30

View file

@ -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