diff options
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)) { |