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

Re: Charging screen, Re: An other battery issue with flashed rockbox

From: Mike Holden <rockbox_at_mikeholden.uklinux.net>
Date: Sat, 19 Jul 2003 17:02:08 +0100 (BST)

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
> _at__at_ -142,9 +142,9 _at__at_
> 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
Received on 2003-07-19

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy