commit | 8831a0a1c681ecb4127664b90708717bfb3ded07 | [log] [tgz] |
---|---|---|
author | Jens Arnold <amiconn@rockbox.org> | Mon Jul 11 19:16:14 2005 +0000 |
committer | Jens Arnold <amiconn@rockbox.org> | Mon Jul 11 19:16:14 2005 +0000 |
tree | dc508fec8844e55ec31b9f508f39315044031f05 | |
parent | 7c7dd43ccf404710fdafabefba1a7f7f76b8fd15 [diff] |
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;