From a42070df8566baa4a95fc04f2205a1e0aa240e00 Mon Sep 17 00:00:00 2001 From: Barry Wardell Date: Thu, 15 Mar 2007 22:32:58 +0000 Subject: Make it possible to boot the OF and show verbose messages at the same time in the PP bootloaders. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12791 a1c6a512-1295-4272-9138-f99709370657 --- bootloader/main-pp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bootloader/main-pp.c b/bootloader/main-pp.c index 0f85404..960e570 100644 --- a/bootloader/main-pp.c +++ b/bootloader/main-pp.c @@ -68,7 +68,7 @@ void* main(void) btn = button_read_device(); /* Enable bootloader messages */ - if (btn==BOOTLOADER_VERBOSE) + if (btn & BOOTLOADER_VERBOSE) verbose = true; lcd_setfont(FONT_SYSFIXED); @@ -103,7 +103,7 @@ void* main(void) pinfo = disk_partinfo(0); printf("Partition 0: 0x%02x %ld MB", pinfo->type, pinfo->size / 2048); - if(btn==BOOTLOADER_BOOT_OF) + if(btn & BOOTLOADER_BOOT_OF) { /* Load original mi4 firmware. This expects a file called "/System/OF.bin" on the player. It should be a mi4 firmware decrypted -- cgit v1.1