summaryrefslogtreecommitdiff
path: root/apps/recorder/icons.c
diff options
context:
space:
mode:
authorUwe Freese <thebreaker@rockbox.org>2003-02-12 22:21:07 +0000
committerUwe Freese <thebreaker@rockbox.org>2003-02-12 22:21:07 +0000
commit5e44a56b65da8fc02174a8397ba395a989dc063e (patch)
tree475651b6d682d3887993a58f6f56e9fd3cce8d7b /apps/recorder/icons.c
parentfaec49f9a801f4d50fab69826ff81d3eb34404b8 (diff)
downloadrockbox-5e44a56b65da8fc02174a8397ba395a989dc063e.tar.gz
rockbox-5e44a56b65da8fc02174a8397ba395a989dc063e.zip
disable charge control for FM
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3239 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/recorder/icons.c')
-rw-r--r--apps/recorder/icons.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/recorder/icons.c b/apps/recorder/icons.c
index 2a9c00647b..acd6d6de4b 100644
--- a/apps/recorder/icons.c
+++ b/apps/recorder/icons.c
@@ -166,8 +166,12 @@ void statusbar_icon_battery(int percent, bool charging)
166#ifdef SIMULATOR 166#ifdef SIMULATOR
167 if (global_settings.battery_type) { 167 if (global_settings.battery_type) {
168#else 168#else
169#ifdef HAVE_CHARGE_CTRL /* Recorder */
169 /* show graphical animation when charging instead of numbers */ 170 /* show graphical animation when charging instead of numbers */
170 if ((global_settings.battery_type) && (charge_state != 1)) { 171 if ((global_settings.battery_type) && (charge_state != 1)) {
172#else /* FM */
173 if (global_settings.battery_type) {
174#endif /* HAVE_CHARGE_CTRL */
171#endif 175#endif
172 /* Numeric display */ 176 /* Numeric display */
173 snprintf(buffer, sizeof(buffer), "%3d", percent); 177 snprintf(buffer, sizeof(buffer), "%3d", percent);