diff options
| author | Brandon Low <lostlogic@rockbox.org> | 2006-03-18 09:34:58 +0000 |
|---|---|---|
| committer | Brandon Low <lostlogic@rockbox.org> | 2006-03-18 09:34:58 +0000 |
| commit | b7c7df788e6fe35c82c7bf8f296c9c86e40ff0a4 (patch) | |
| tree | f51791c28bf6df9f8d5d14071fe5cc060dc0eadf /apps | |
| parent | 96e4946d9d5764b82634233a4c64d743d1d267f4 (diff) | |
| download | rockbox-b7c7df788e6fe35c82c7bf8f296c9c86e40ff0a4.zip rockbox-b7c7df788e6fe35c82c7bf8f296c9c86e40ff0a4.tar.gz rockbox-b7c7df788e6fe35c82c7bf8f296c9c86e40ff0a4.tar.bz2 rockbox-b7c7df788e6fe35c82c7bf8f296c9c86e40ff0a4.tar.xz | |
Fix red builds
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9091 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
| -rw-r--r-- | apps/debug_menu.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/apps/debug_menu.c b/apps/debug_menu.c index d266bef..c7f2aac 100644 --- a/apps/debug_menu.c +++ b/apps/debug_menu.c @@ -1341,7 +1341,6 @@ bool view_battery(void) lcd_puts(0, 6, buf); lcd_puts(0, 7, power_message); #else /* !HAVE_CHARGE_CTRL */ -#if defined IPOD_ARCH #if defined APPLE_IPODNANO || defined APPLE_IPODVIDEO int usb_pwr = (GPIOL_INPUT_VAL & 0x10)?true:false; int ext_pwr = (GPIOL_INPUT_VAL & 0x08)?false:true; @@ -1364,13 +1363,7 @@ bool view_battery(void) snprintf(buf, 30, "Headphone: %s", headphone ? "connected" : "disconnected"); lcd_puts(0, 7, buf); -#else - /* other ipod devices go here */ - snprintf(buf, 30, "Charger: %s", - charger_inserted() ? "present" : "absent"); - lcd_puts(0, 3, buf); -#endif -#elif +#else snprintf(buf, 30, "Charger: %s", charger_inserted() ? "present" : "absent"); lcd_puts(0, 3, buf); |