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:
parent
f077710b86
commit
42f65b1c30
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue