summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrandon Low <lostlogic@rockbox.org>2006-03-18 09:34:58 +0000
committerBrandon Low <lostlogic@rockbox.org>2006-03-18 09:34:58 +0000
commitb7c7df788e6fe35c82c7bf8f296c9c86e40ff0a4 (patch)
treef51791c28bf6df9f8d5d14071fe5cc060dc0eadf
parent96e4946d9d5764b82634233a4c64d743d1d267f4 (diff)
downloadrockbox-b7c7df788e6fe35c82c7bf8f296c9c86e40ff0a4.tar.gz
rockbox-b7c7df788e6fe35c82c7bf8f296c9c86e40ff0a4.zip
Fix red builds
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9091 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/debug_menu.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/apps/debug_menu.c b/apps/debug_menu.c
index d266bef6c7..c7f2aac802 100644
--- a/apps/debug_menu.c
+++ b/apps/debug_menu.c
@@ -1341,7 +1341,6 @@ bool view_battery(void)
1341 lcd_puts(0, 6, buf); 1341 lcd_puts(0, 6, buf);
1342 lcd_puts(0, 7, power_message); 1342 lcd_puts(0, 7, power_message);
1343#else /* !HAVE_CHARGE_CTRL */ 1343#else /* !HAVE_CHARGE_CTRL */
1344#if defined IPOD_ARCH
1345#if defined APPLE_IPODNANO || defined APPLE_IPODVIDEO 1344#if defined APPLE_IPODNANO || defined APPLE_IPODVIDEO
1346 int usb_pwr = (GPIOL_INPUT_VAL & 0x10)?true:false; 1345 int usb_pwr = (GPIOL_INPUT_VAL & 0x10)?true:false;
1347 int ext_pwr = (GPIOL_INPUT_VAL & 0x08)?false:true; 1346 int ext_pwr = (GPIOL_INPUT_VAL & 0x08)?false:true;
@@ -1364,13 +1363,7 @@ bool view_battery(void)
1364 snprintf(buf, 30, "Headphone: %s", 1363 snprintf(buf, 30, "Headphone: %s",
1365 headphone ? "connected" : "disconnected"); 1364 headphone ? "connected" : "disconnected");
1366 lcd_puts(0, 7, buf); 1365 lcd_puts(0, 7, buf);
1367#else 1366#else
1368 /* other ipod devices go here */
1369 snprintf(buf, 30, "Charger: %s",
1370 charger_inserted() ? "present" : "absent");
1371 lcd_puts(0, 3, buf);
1372#endif
1373#elif
1374 snprintf(buf, 30, "Charger: %s", 1367 snprintf(buf, 30, "Charger: %s",
1375 charger_inserted() ? "present" : "absent"); 1368 charger_inserted() ? "present" : "absent");
1376 lcd_puts(0, 3, buf); 1369 lcd_puts(0, 3, buf);