summaryrefslogtreecommitdiffstats
path: root/bootloader
diff options
context:
space:
mode:
Diffstat (limited to 'bootloader')
-rw-r--r--bootloader/main-pp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bootloader/main-pp.c b/bootloader/main-pp.c
index 0f85404fc7..960e570889 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