From 85528242844b71ac45e5331363a48a2956c38275 Mon Sep 17 00:00:00 2001 From: Rafaël Carré Date: Sun, 8 Jan 2012 01:43:16 +0000 Subject: ascodec-target.h: remove move prototypes to ascodec.h move code to ascodec*.c YPR0: use adc-as3514.c instead of duplicating it TODO: merge as3514.h and ascodec.h ? git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31626 a1c6a512-1295-4272-9138-f99709370657 --- apps/debug_menu.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'apps/debug_menu.c') 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 @@ #include "debug-target.h" #endif -#if defined(SANSA_E200) || defined(SANSA_C200) || defined(PHILIPS_SA9200) \ - || (CONFIG_CPU == AS3525 && defined(CONFIG_CHARGING)) \ - || CONFIG_CPU == AS3525v2 +#if defined(HAVE_AS3514) && defined(CONFIG_CHARGING) #include "ascodec.h" -#include "as3514.h" #endif #ifdef IPOD_NANO2G @@ -1129,8 +1126,7 @@ static bool view_battery(void) lcd_puts(0, line++, "T Battery: ?"); } -#elif defined(SANSA_E200) || defined(SANSA_C200) || CONFIG_CPU == AS3525 || \ - CONFIG_CPU == AS3525v2 +#if defined(HAVE_AS3514) && defined(CONFIG_CHARGING) static const char * const chrgstate_strings[] = { [CHARGE_STATE_DISABLED - CHARGE_STATE_DISABLED]= "Disabled", -- cgit v1.2.3