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
diff --git a/flash/bootbox/main.c b/flash/bootbox/main.c
index e5b4ac6..d4e3260 100644
--- a/flash/bootbox/main.c
+++ b/flash/bootbox/main.c
@@ -82,7 +82,7 @@
     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;