forked from len0rd/rockbox
Now updates the backlight timer and scroll speed after loading the settings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1493 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
95c58003c3
commit
17cf49a8c4
1 changed files with 3 additions and 0 deletions
|
@ -31,6 +31,7 @@
|
||||||
#include "string.h"
|
#include "string.h"
|
||||||
#include "ata.h"
|
#include "ata.h"
|
||||||
#include "power.h"
|
#include "power.h"
|
||||||
|
#include "backlight.h"
|
||||||
|
|
||||||
struct user_settings global_settings;
|
struct user_settings global_settings;
|
||||||
|
|
||||||
|
@ -347,6 +348,8 @@ void settings_load(void)
|
||||||
if (rtc_config_block[0x24] != 0xFF)
|
if (rtc_config_block[0x24] != 0xFF)
|
||||||
memcpy(&global_settings.total_uptime, &rtc_config_block[0x24], 4);
|
memcpy(&global_settings.total_uptime, &rtc_config_block[0x24], 4);
|
||||||
}
|
}
|
||||||
|
lcd_scroll_speed(global_settings.scroll_speed);
|
||||||
|
backlight_time(global_settings.backlight);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue