summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2002-07-30 07:56:16 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2002-07-30 07:56:16 +0000
commit17cf49a8c45f10ea22ee6c8fc187a7851aef10a9 (patch)
treeffdb95851955248d6332a9ba7b29157b791d249a
parent95c58003c3c0d094ce8b7b0ad420b2ea2c9d03fa (diff)
downloadrockbox-17cf49a8c45f10ea22ee6c8fc187a7851aef10a9.tar.gz
rockbox-17cf49a8c45f10ea22ee6c8fc187a7851aef10a9.zip
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
-rw-r--r--apps/settings.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/settings.c b/apps/settings.c
index ecc3a34c16..7f1c1af34d 100644
--- a/apps/settings.c
+++ b/apps/settings.c
@@ -31,6 +31,7 @@
31#include "string.h" 31#include "string.h"
32#include "ata.h" 32#include "ata.h"
33#include "power.h" 33#include "power.h"
34#include "backlight.h"
34 35
35struct user_settings global_settings; 36struct user_settings global_settings;
36 37
@@ -347,6 +348,8 @@ void settings_load(void)
347 if (rtc_config_block[0x24] != 0xFF) 348 if (rtc_config_block[0x24] != 0xFF)
348 memcpy(&global_settings.total_uptime, &rtc_config_block[0x24], 4); 349 memcpy(&global_settings.total_uptime, &rtc_config_block[0x24], 4);
349 } 350 }
351 lcd_scroll_speed(global_settings.scroll_speed);
352 backlight_time(global_settings.backlight);
350} 353}
351 354
352/* 355/*