diff options
author | Linus Nielsen Feltzing <linus@haxx.se> | 2005-07-09 19:48:22 +0000 |
---|---|---|
committer | Linus Nielsen Feltzing <linus@haxx.se> | 2005-07-09 19:48:22 +0000 |
commit | d1af08f9cb347009f57b282b734ae5f5abd878da (patch) | |
tree | 951786ca5732848ef92905972d6cc7fef27e8859 | |
parent | e51fc6d8da1175701f5958081a05deaa457d23e0 (diff) | |
download | rockbox-d1af08f9cb347009f57b282b734ae5f5abd878da.tar.gz rockbox-d1af08f9cb347009f57b282b734ae5f5abd878da.zip |
Correct Rec+ON check in the iriver bootloader
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7087 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | bootloader/main.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/bootloader/main.c b/bootloader/main.c index 63641c5d9a..22053d25d4 100644 --- a/bootloader/main.c +++ b/bootloader/main.c @@ -217,11 +217,12 @@ void main(void) snprintf(buf, 256, "Rockboot version 3"); lcd_puts(0, line++, buf); + lcd_update(); sleep(HZ/50); /* Allow the button driver to check the buttons */ - if(button_status() & BUTTON_REC || - button_status() & BUTTON_RC_REC) { + if(((button_status() & BUTTON_REC) == BUTTON_REC) || + ((button_status() & BUTTON_RC_REC) == BUTTON_RC_REC)) { lcd_puts(0, 8, "Starting original firmware..."); lcd_update(); start_iriver_fw(); |