diff options
Diffstat (limited to 'apps/screens.c')
-rw-r--r-- | apps/screens.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/apps/screens.c b/apps/screens.c index 992c740460..230e9ae53c 100644 --- a/apps/screens.c +++ b/apps/screens.c | |||
@@ -209,8 +209,7 @@ static void charging_display_info(bool animate) | |||
209 | lcd_puts(0, 7, buf); | 209 | lcd_puts(0, 7, buf); |
210 | } | 210 | } |
211 | 211 | ||
212 | #if CONFIG_CHARGING == CHARGING_CONTROL | 212 | #ifdef ARCHOS_RECORER |
213 | |||
214 | snprintf(buf, 32, "Charge mode:"); | 213 | snprintf(buf, 32, "Charge mode:"); |
215 | lcd_puts(0, 2, buf); | 214 | lcd_puts(0, 2, buf); |
216 | 215 | ||
@@ -224,10 +223,9 @@ static void charging_display_info(bool animate) | |||
224 | snprintf(buf, 32, "not charging"); | 223 | snprintf(buf, 32, "not charging"); |
225 | 224 | ||
226 | lcd_puts(0, 3, buf); | 225 | lcd_puts(0, 3, buf); |
227 | if (!charger_enabled) | 226 | if (!charger_enabled()) |
228 | animate = false; | 227 | animate = false; |
229 | #endif /* CONFIG_CHARGING == CHARGING_CONTROL */ | 228 | #endif /* ARCHOS_RECORER */ |
230 | |||
231 | 229 | ||
232 | /* middle part */ | 230 | /* middle part */ |
233 | memset(charging_logo+3, 0x00, 32); | 231 | memset(charging_logo+3, 0x00, 32); |