diff options
author | Jörg Hohensohn <hohensoh@rockbox.org> | 2004-10-08 17:45:52 +0000 |
---|---|---|
committer | Jörg Hohensohn <hohensoh@rockbox.org> | 2004-10-08 17:45:52 +0000 |
commit | 43079ea07f13a7631cd3c0e5993638235427a476 (patch) | |
tree | 13ff7f3370f2793797fe9bd51e4e459a5dda695f /apps/status.c | |
parent | 5cf1c97aea10864ecb6c3836a5c17845a5906d79 (diff) | |
download | rockbox-43079ea07f13a7631cd3c0e5993638235427a476.tar.gz rockbox-43079ea07f13a7631cd3c0e5993638235427a476.zip |
multiple battery types prepared (CONFIG_BATTERY)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5227 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 84a3f8d6c2..248f9b9e1f 100644 --- a/apps/status.c +++ b/apps/status.c @@ -172,7 +172,7 @@ void status_draw(bool force_redraw) if (info.inserted) { battery_state = true; plug_state = true; -#if defined(HAVE_CHARGE_CTRL) || defined(HAVE_LIION) +#if defined(HAVE_CHARGE_CTRL) || CONFIG_BATTERY == BATT_LIION2200 /* zero battery run time if charging */ if (charge_state > 0) { global_settings.runtime = 0; |