fix cpp condition

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31628 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Rafaël Carré 2012-01-08 01:51:51 +00:00
parent 0965e61b11
commit 90736a4055

View file

@ -1126,7 +1126,7 @@ static bool view_battery(void)
lcd_puts(0, line++, "T Battery: ?");
}
#if defined(HAVE_AS3514) && defined(CONFIG_CHARGING)
#elif defined(HAVE_AS3514) && defined(CONFIG_CHARGING)
static const char * const chrgstate_strings[] =
{
[CHARGE_STATE_DISABLED - CHARGE_STATE_DISABLED]= "Disabled",