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



Rockbox mail archive

Subject: Re: wodz: r26162 - trunk/apps

Re: wodz: r26162 - trunk/apps

From: Michael Chicoine <mc2739_at_gmail.com>
Date: Wed, 19 May 2010 09:48:36 -0500

On Wed, May 19, 2010 at 8:24 AM, <mailer_at_svn.rockbox.org> wrote:
> Date: 2010-05-19 15:24:18 +0200 (Wed, 19 May 2010)
> New Revision: 26162
>
> Log Message:
> Add charging/discharging indication to battery debug menu if CONFIG_CHARGING >= CHARGING_MONITOR
>
> Modified:
>   trunk/apps/debug_menu.c
>
> Modified: trunk/apps/debug_menu.c
> ===================================================================
> --- trunk/apps/debug_menu.c     2010-05-19 12:11:57 UTC (rev 26161)
> +++ trunk/apps/debug_menu.c     2010-05-19 13:24:18 UTC (rev 26162)
> _at__at_ -1534,8 +1534,12 _at__at_
>                 break;
>
>             case 1: /* status: */
> +#if CONFIG_CHARGING >= CHARGING_MONITOR
> +                lcd_putsf(0, 0, "Pwr status: %s",
> +                         charging_state() ? "charging" : "discharging");
> +#else
>                 lcd_puts(0, 0, "Power status:");
> -
> +#endif
>                 battery_read_info(&y, NULL);
>                 lcd_putsf(0, 1, "Battery: %d.%03d V", y / 1000, y % 1000);
>  #ifdef ADC_EXT_POWER
>
> _______________________________________________
> rockbox-cvs mailing list
> rockbox-cvs_at_cool.haxx.se
> http://cool.haxx.se/cgi-bin/mailman/listinfo/rockbox-cvs
>

Charging status was already being displayed for several other targets.
 This commit causes the charging status information to be duplicated
on those targets.
Received on 2010-05-19

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