Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: Re: Charging screen, Re: An other battery issue with flashed rockbox
From: Mike Holden (rockbox_at_mikeholden.uklinux.net)
Date: 2003-07-19


Johan Vromans said:
> Need this as well?
>
> --- screens.c~ Sat Jul 19 15:45:47 2003
> +++ screens.c Sat Jul 19 15:49:25 2003
> @@ -142,9 +142,9 @@
> lcd_puts(0, 6, buf);
>
> #ifdef HAVE_CHARGE_CTRL
> - snprintf(buf, 30, " Charging: %s", charger_enabled ? "yes" :
> "no"); + snprintf(buf, 30, " Charging: %s", charger_is_enabled() ?
> "yes" : "no");
> lcd_puts(0, 2, buf);
> - if (!charger_enabled)
> + if (!charger_is_enabled())
> animate = false;
> #endif

Yes indeed. Thanks. Added to the online patch.

-- 
Mike Holden

Rockbox page: http://www.mikeholden.org/~rockbox



Page was last modified "Jan 10 2012" The Rockbox Crew
aaa