From 3157e1395674a930c74e2ef4cc4ce78dffea8569 Mon Sep 17 00:00:00 2001 From: Michael Sevakis Date: Wed, 24 Dec 2008 16:58:41 +0000 Subject: 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 --- flash/bootbox/main.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'flash/bootbox/main.c') diff --git a/flash/bootbox/main.c b/flash/bootbox/main.c index f53a5edda2..e4be785beb 100644 --- a/flash/bootbox/main.c +++ b/flash/bootbox/main.c @@ -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 -- cgit v1.2.3