From 8831a0a1c681ecb4127664b90708717bfb3ded07 Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Mon, 11 Jul 2005 19:16:14 +0000 Subject: 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 --- flash/bootbox/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'flash/bootbox') diff --git a/flash/bootbox/main.c b/flash/bootbox/main.c index e5b4ac6634..d4e326025e 100644 --- a/flash/bootbox/main.c +++ b/flash/bootbox/main.c @@ -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; -- cgit