summaryrefslogtreecommitdiffstats
path: root/apps/main.c
diff options
context:
space:
mode:
authorThomas Jarosch <tomj@simonv.com>2011-03-02 19:12:55 +0000
committerThomas Jarosch <tomj@simonv.com>2011-03-02 19:12:55 +0000
commit15a358099cf62cd8c4e5110b6a240f1423270ee3 (patch)
treed123d23239c0ca4ac6bc197d4d4fe49867651a30 /apps/main.c
parent7ad78222c45e2056edd29c16034bb6109ebef45b (diff)
downloadrockbox-15a358099cf62cd8c4e5110b6a240f1423270ee3.tar.gz
rockbox-15a358099cf62cd8c4e5110b6a240f1423270ee3.tar.bz2
rockbox-15a358099cf62cd8c4e5110b6a240f1423270ee3.zip
Introduce "power" thread for RaaA
I tried to move the #ifdefs and the code in firmware/powermgmt.c around and it was still a big mess for hosted applications (RaaA/sim builds). Create our own "power" thread as recently discussed on IRC. Fixes the sleep timer for RaaA. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29501 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/main.c')
-rw-r--r--apps/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/main.c b/apps/main.c
index fe5cbc9e80..0b566b5c01 100644
--- a/apps/main.c
+++ b/apps/main.c
@@ -350,6 +350,7 @@ static void init(void)
font_init();
show_logo();
button_init();
+ powermgmt_init();
backlight_init();
#if (CONFIG_PLATFORM & (PLATFORM_SDL|PLATFORM_MAEMO|PLATFORM_PANDORA))
sim_tasks_init();