diff options
author | Uwe Freese <thebreaker@rockbox.org> | 2002-12-18 19:00:34 +0000 |
---|---|---|
committer | Uwe Freese <thebreaker@rockbox.org> | 2002-12-18 19:00:34 +0000 |
commit | 0a0fd197889cc2072bf99ebec368823ef463f6a2 (patch) | |
tree | 0c4d309c5d61cafc29f88f13649bcd833f1b96d0 /apps/status.c | |
parent | 4bc287d34a40ce387c1c0d2049dc32dcc847f107 (diff) | |
download | rockbox-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
Diffstat (limited to 'apps/status.c')
-rw-r--r-- | apps/status.c | 2 |
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) | |||
206 | plug_state = true; | 206 | plug_state = true; |
207 | if (charge_state > 0) /* charge || top off || trickle */ | 207 | if (charge_state > 0) /* charge || top off || trickle */ |
208 | global_settings.runtime = 0; | 208 | global_settings.runtime = 0; |
209 | if ((charge_state == 1) || (charge_state == 2 )) { /* animate battery if charging or top-off charging*/ | 209 | if (charge_state == 1) { /* animate battery if charging */ |
210 | battlevel = battery_charge_step * 34; /* 34 for a better look */ | 210 | battlevel = battery_charge_step * 34; /* 34 for a better look */ |
211 | battlevel = battlevel > 100 ? 100 : battlevel; | 211 | battlevel = battlevel > 100 ? 100 : battlevel; |
212 | if(TIME_AFTER(current_tick, switch_tick)) { | 212 | if(TIME_AFTER(current_tick, switch_tick)) { |