Postfix for bootbox: charging screen reacts on ON press not release as well.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7105 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
7c7dd43ccf
commit
8831a0a1c6
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ int charging_screen(void)
|
|||
do
|
||||
{
|
||||
button = button_get_w_tmo(HZ/2);
|
||||
if (button == (BUTTON_ON | BUTTON_REL))
|
||||
if (button == BUTTON_ON)
|
||||
rc = 2;
|
||||
else if (usb_detect())
|
||||
rc = 3;
|
||||
|
|
Loading…
Reference in a new issue