forked from len0rd/rockbox
Fix red builds
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9091 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
96e4946d9d
commit
b7c7df788e
1 changed files with 1 additions and 8 deletions
|
@ -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;
|
||||
|
@ -1365,12 +1364,6 @@ bool view_battery(void)
|
|||
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
|
||||
snprintf(buf, 30, "Charger: %s",
|
||||
charger_inserted() ? "present" : "absent");
|
||||
lcd_puts(0, 3, buf);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue