diff options
author | Thomas Jarosch <tomj@simonv.com> | 2011-03-02 19:12:55 +0000 |
---|---|---|
committer | Thomas Jarosch <tomj@simonv.com> | 2011-03-02 19:12:55 +0000 |
commit | 15a358099cf62cd8c4e5110b6a240f1423270ee3 (patch) | |
tree | d123d23239c0ca4ac6bc197d4d4fe49867651a30 /apps/main.c | |
parent | 7ad78222c45e2056edd29c16034bb6109ebef45b (diff) | |
download | rockbox-15a358099cf62cd8c4e5110b6a240f1423270ee3.tar.gz 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.c | 1 |
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) | |||
350 | font_init(); | 350 | font_init(); |
351 | show_logo(); | 351 | show_logo(); |
352 | button_init(); | 352 | button_init(); |
353 | powermgmt_init(); | ||
353 | backlight_init(); | 354 | backlight_init(); |
354 | #if (CONFIG_PLATFORM & (PLATFORM_SDL|PLATFORM_MAEMO|PLATFORM_PANDORA)) | 355 | #if (CONFIG_PLATFORM & (PLATFORM_SDL|PLATFORM_MAEMO|PLATFORM_PANDORA)) |
355 | sim_tasks_init(); | 356 | sim_tasks_init(); |