From 94077449cca39a921a1828b1dd022f38c790b6df Mon Sep 17 00:00:00 2001 From: Björn Stenberg Date: Wed, 12 May 2004 14:21:35 +0000 Subject: Keep running charging animation until top-off is completed git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4611 a1c6a512-1295-4272-9138-f99709370657 --- apps/status.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'apps') diff --git a/apps/status.c b/apps/status.c index 09f777725e..5ff7a92e75 100644 --- a/apps/status.c +++ b/apps/status.c @@ -145,7 +145,8 @@ void status_draw(bool force_redraw) } /* animate battery if charging */ - if (charge_state == 1) { + if ((charge_state == 1) || + (charge_state == 2)) { #else global_settings.runtime = 0; lasttime = current_tick; -- cgit v1.2.3