Fix warnings in player builds.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11130 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Barry Wardell 2006-10-05 11:17:00 +00:00
parent d4945dc0d0
commit 0577dd7b62

View file

@ -121,6 +121,7 @@ bool charger_inserted(void)
return (adc_read(ADC_CHARGE_REGULATOR) < 0x1FF); return (adc_read(ADC_CHARGE_REGULATOR) < 0x1FF);
#elif defined(TOSHIBA_GIGABEAT_F) #elif defined(TOSHIBA_GIGABEAT_F)
return false; return false;
#else
/* Player */ /* Player */
return (PADR & 1) == 0; return (PADR & 1) == 0;
#endif #endif