From 15a358099cf62cd8c4e5110b6a240f1423270ee3 Mon Sep 17 00:00:00 2001 From: Thomas Jarosch Date: Wed, 2 Mar 2011 19:12:55 +0000 Subject: 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 --- apps/main.c | 1 + 1 file changed, 1 insertion(+) (limited to 'apps/main.c') 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(); -- cgit v1.2.3