1
0
Fork 0
forked from len0rd/rockbox

Simplify powermgmt thread loops so it calls functions turn (no more power_thread_sleep). Do other target-friendly simplifications, generic battery switch handling and split sim-specific code. Whoever can, please verify charging on the Archos Recorder (due to change in the charger duty cycle code).

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19579 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Michael Sevakis 2008-12-24 16:58:41 +00:00
parent 0f9729739f
commit 3157e13956
34 changed files with 1337 additions and 1124 deletions

View file

@ -75,7 +75,7 @@ static void charging_screen(void)
do
{
#if CONFIG_CHARGING == CHARGING_CONTROL
#ifdef ARCHOS_RECORDER
if (charge_state == CHARGING)
msg = "charging";
else if (charge_state == TOPOFF)
@ -84,7 +84,6 @@ static void charging_screen(void)
msg = "trickle charge";
else
msg = "not charging";
#else
msg = "charging";
#endif