summaryrefslogtreecommitdiff
path: root/apps/debug_menu.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/debug_menu.c')
-rw-r--r--apps/debug_menu.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/apps/debug_menu.c b/apps/debug_menu.c
index 2a742408d2..e940d24fb0 100644
--- a/apps/debug_menu.c
+++ b/apps/debug_menu.c
@@ -108,11 +108,8 @@
108#include "debug-target.h" 108#include "debug-target.h"
109#endif 109#endif
110 110
111#if defined(SANSA_E200) || defined(SANSA_C200) || defined(PHILIPS_SA9200) \ 111#if defined(HAVE_AS3514) && defined(CONFIG_CHARGING)
112 || (CONFIG_CPU == AS3525 && defined(CONFIG_CHARGING)) \
113 || CONFIG_CPU == AS3525v2
114#include "ascodec.h" 112#include "ascodec.h"
115#include "as3514.h"
116#endif 113#endif
117 114
118#ifdef IPOD_NANO2G 115#ifdef IPOD_NANO2G
@@ -1129,8 +1126,7 @@ static bool view_battery(void)
1129 lcd_puts(0, line++, "T Battery: ?"); 1126 lcd_puts(0, line++, "T Battery: ?");
1130 } 1127 }
1131 1128
1132#elif defined(SANSA_E200) || defined(SANSA_C200) || CONFIG_CPU == AS3525 || \ 1129#if defined(HAVE_AS3514) && defined(CONFIG_CHARGING)
1133 CONFIG_CPU == AS3525v2
1134 static const char * const chrgstate_strings[] = 1130 static const char * const chrgstate_strings[] =
1135 { 1131 {
1136 [CHARGE_STATE_DISABLED - CHARGE_STATE_DISABLED]= "Disabled", 1132 [CHARGE_STATE_DISABLED - CHARGE_STATE_DISABLED]= "Disabled",