summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2005-07-11 19:29:54 +0000
committerJens Arnold <amiconn@rockbox.org>2005-07-11 19:29:54 +0000
commit367de4d0646f21a8cdf2fcc14ad5e4a8d9c8ccb2 (patch)
tree4af51d4f3cf091b8103bb03b46981e76c3f08f90
parent8831a0a1c681ecb4127664b90708717bfb3ded07 (diff)
downloadrockbox-367de4d0646f21a8cdf2fcc14ad5e4a8d9c8ccb2.tar.gz
rockbox-367de4d0646f21a8cdf2fcc14ad5e4a8d9c8ccb2.tar.bz2
rockbox-367de4d0646f21a8cdf2fcc14ad5e4a8d9c8ccb2.zip
Iriver: Disabled dead charging screen code.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7106 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/screens.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/screens.c b/apps/screens.c
index badbdb7272..f8e9159528 100644
--- a/apps/screens.c
+++ b/apps/screens.c
@@ -176,7 +176,7 @@ unsigned short adc_read(int channel)
}
#endif
-#ifdef HAVE_CHARGING
+#if defined(HAVE_CHARGING) && !defined(HAVE_POWEROFF_WHILE_CHARGING)
#ifdef HAVE_LCD_BITMAP
void charging_display_info(bool animate)
@@ -373,7 +373,7 @@ int charging_screen(void)
#endif
return rc;
}
-#endif /* HAVE_CHARGING */
+#endif /* HAVE_CHARGING && !HAVE_POWEROFF_WHILE_CHARGING */
#if CONFIG_KEYPAD == RECORDER_PAD