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: Henrik Backe <backe_at_swipnet.se>
Date: Fri, 18 Jul 2003 10:03:47 +0200

> Anyway, I've committed a beta charging screen now. It comes up when
plugging
> in while the unit is off, pausing the boot process before the disk is
> initialized. (Should fix the deep discharge problem.) Pressing On
continues the
> boot, as well as plugging USB. Removing the plug during that screen will
shut
> the unit off.
>
> Jörg

There is a small problem when pressing ON to continue the boot.
The "Any" key is pressed when getting to the resume function and
resume=ask actually becaomes resume=no.

Just change the line

if (button == BUTTON_ON)

to

if (button == (BUTTON_ON | BUTTON_REL))

in charging_screen() and this problem is fixed.

.../Henrik
Received on 2003-07-18

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