Introduce "power" thread for RaaA
commit15a358099cf62cd8c4e5110b6a240f1423270ee3
authorThomas Jarosch <tomj@simonv.com>
Wed, 2 Mar 2011 19:12:55 +0000 (2 19:12 +0000)
committerThomas Jarosch <tomj@simonv.com>
Wed, 2 Mar 2011 19:12:55 +0000 (2 19:12 +0000)
treed123d23239c0ca4ac6bc197d4d4fe49867651a30
parent7ad78222c45e2056edd29c16034bb6109ebef45b
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
firmware/SOURCES
firmware/export/powermgmt.h
firmware/target/hosted/android/system-android.c
firmware/target/hosted/powermgmt.c [new file with mode: 0644]