summaryrefslogtreecommitdiff
path: root/flash/bootbox/main.c
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2008-12-24 16:58:41 +0000
committerMichael Sevakis <jethead71@rockbox.org>2008-12-24 16:58:41 +0000
commit3157e1395674a930c74e2ef4cc4ce78dffea8569 (patch)
tree5b2a9befc3b051caf0806995ebd32a5ab3bcf5ff /flash/bootbox/main.c
parent0f9729739f2fd90759c1caeca86e487c36f98834 (diff)
downloadrockbox-3157e1395674a930c74e2ef4cc4ce78dffea8569.tar.gz
rockbox-3157e1395674a930c74e2ef4cc4ce78dffea8569.zip
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
Diffstat (limited to 'flash/bootbox/main.c')
-rw-r--r--flash/bootbox/main.c3
1 files changed, 1 insertions, 2 deletions
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)
75 75
76 do 76 do
77 { 77 {
78#if CONFIG_CHARGING == CHARGING_CONTROL 78#ifdef ARCHOS_RECORDER
79 if (charge_state == CHARGING) 79 if (charge_state == CHARGING)
80 msg = "charging"; 80 msg = "charging";
81 else if (charge_state == TOPOFF) 81 else if (charge_state == TOPOFF)
@@ -84,7 +84,6 @@ static void charging_screen(void)
84 msg = "trickle charge"; 84 msg = "trickle charge";
85 else 85 else
86 msg = "not charging"; 86 msg = "not charging";
87
88#else 87#else
89 msg = "charging"; 88 msg = "charging";
90#endif 89#endif