summaryrefslogtreecommitdiffstats
path: root/flash/bootbox
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2005-07-11 19:16:14 +0000
committerJens Arnold <amiconn@rockbox.org>2005-07-11 19:16:14 +0000
commit8831a0a1c681ecb4127664b90708717bfb3ded07 (patch)
treedc508fec8844e55ec31b9f508f39315044031f05 /flash/bootbox
parent7c7dd43ccf404710fdafabefba1a7f7f76b8fd15 (diff)
downloadrockbox-8831a0a1c681ecb4127664b90708717bfb3ded07.tar.gz
rockbox-8831a0a1c681ecb4127664b90708717bfb3ded07.tar.bz2
rockbox-8831a0a1c681ecb4127664b90708717bfb3ded07.zip
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
Diffstat (limited to 'flash/bootbox')
-rw-r--r--flash/bootbox/main.c2
1 files changed, 1 insertions, 1 deletions
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;