summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUwe Freese <thebreaker@rockbox.org>2002-12-18 19:00:34 +0000
committerUwe Freese <thebreaker@rockbox.org>2002-12-18 19:00:34 +0000
commit0a0fd197889cc2072bf99ebec368823ef463f6a2 (patch)
tree0c4d309c5d61cafc29f88f13649bcd833f1b96d0
parent4bc287d34a40ce387c1c0d2049dc32dcc847f107 (diff)
downloadrockbox-0a0fd197889cc2072bf99ebec368823ef463f6a2.tar.gz
rockbox-0a0fd197889cc2072bf99ebec368823ef463f6a2.zip
show 100% instead of animation when top-off chg.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3018 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/status.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/status.c b/apps/status.c
index 91379bba2b..3921a3bcdb 100644
--- a/apps/status.c
+++ b/apps/status.c
@@ -206,7 +206,7 @@ void status_draw(void)
plug_state = true;
if (charge_state > 0) /* charge || top off || trickle */
global_settings.runtime = 0;
- if ((charge_state == 1) || (charge_state == 2 )) { /* animate battery if charging or top-off charging*/
+ if (charge_state == 1) { /* animate battery if charging */
battlevel = battery_charge_step * 34; /* 34 for a better look */
battlevel = battlevel > 100 ? 100 : battlevel;
if(TIME_AFTER(current_tick, switch_tick)) {