summaryrefslogtreecommitdiff
path: root/bootloader/main-pp.c
diff options
context:
space:
mode:
Diffstat (limited to 'bootloader/main-pp.c')
-rw-r--r--bootloader/main-pp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bootloader/main-pp.c b/bootloader/main-pp.c
index 0d377fd798..8b851394ac 100644
--- a/bootloader/main-pp.c
+++ b/bootloader/main-pp.c
@@ -464,7 +464,7 @@ void* main(void)
464 { 464 {
465 usb_retry++; 465 usb_retry++;
466 sleep(HZ/4); 466 sleep(HZ/4);
467 usb = usb_detect(); 467 usb = (usb_detect() == USB_INSERTED);
468 } 468 }
469 if (usb) 469 if (usb)
470 btn |= BOOTLOADER_BOOT_OF; 470 btn |= BOOTLOADER_BOOT_OF;