1
0
Fork 0
forked from len0rd/rockbox

fix yellow

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23135 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Nils Wallménius 2009-10-12 18:47:33 +00:00
parent efdbcc114c
commit e1439fa010

View file

@ -295,7 +295,6 @@ static void charging_display_info(bool animate)
const int pox_y = 32; const int pox_y = 32;
static unsigned phase = 3; static unsigned phase = 3;
unsigned i; unsigned i;
const char *s;
#ifdef NEED_ATA_POWER_BATT_MEASURE #ifdef NEED_ATA_POWER_BATT_MEASURE
if (ide_powered()) /* FM and V2 can only measure when ATA power is on */ if (ide_powered()) /* FM and V2 can only measure when ATA power is on */
@ -311,6 +310,7 @@ static void charging_display_info(bool animate)
#ifdef ARCHOS_RECORDER #ifdef ARCHOS_RECORDER
lcd_puts(0, 2, "Charge mode:"); lcd_puts(0, 2, "Charge mode:");
const char *s;
if (charge_state == CHARGING) if (charge_state == CHARGING)
s = str(LANG_BATTERY_CHARGE); s = str(LANG_BATTERY_CHARGE);
else if (charge_state == TOPOFF) else if (charge_state == TOPOFF)