summaryrefslogtreecommitdiffstats
path: root/bootloader/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'bootloader/main.c')
-rw-r--r--bootloader/main.c5
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();