From d1af08f9cb347009f57b282b734ae5f5abd878da Mon Sep 17 00:00:00 2001 From: Linus Nielsen Feltzing Date: Sat, 9 Jul 2005 19:48:22 +0000 Subject: Correct Rec+ON check in the iriver bootloader git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7087 a1c6a512-1295-4272-9138-f99709370657 --- bootloader/main.c | 5 +++-- 1 file 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(); -- cgit