Keep running charging animation until top-off is completed

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4611 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Björn Stenberg 2004-05-12 14:21:35 +00:00
parent 2a3aab675a
commit 94077449cc

View file

@ -145,7 +145,8 @@ void status_draw(bool force_redraw)
} }
/* animate battery if charging */ /* animate battery if charging */
if (charge_state == 1) { if ((charge_state == 1) ||
(charge_state == 2)) {
#else #else
global_settings.runtime = 0; global_settings.runtime = 0;
lasttime = current_tick; lasttime = current_tick;