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, 2 insertions, 0 deletions
diff --git a/bootloader/main-pp.c b/bootloader/main-pp.c
index 74c66233c0..5af6e57fff 100644
--- a/bootloader/main-pp.c
+++ b/bootloader/main-pp.c
@@ -465,6 +465,7 @@ void* main(void)
465 465
466 btn = button_read_device(); 466 btn = button_read_device();
467#if defined(SANSA_E200) || defined(SANSA_C200) 467#if defined(SANSA_E200) || defined(SANSA_C200)
468#if !defined(USE_ROCKBOX_USB)
468 usb_init(); 469 usb_init();
469 while (usb_drv_powered() && usb_retry < 5 && !usb) 470 while (usb_drv_powered() && usb_retry < 5 && !usb)
470 { 471 {
@@ -474,6 +475,7 @@ void* main(void)
474 } 475 }
475 if (usb) 476 if (usb)
476 btn |= BOOTLOADER_BOOT_OF; 477 btn |= BOOTLOADER_BOOT_OF;
478#endif /* USE_ROCKBOX_USB */
477#endif 479#endif
478 /* Enable bootloader messages if any button is pressed */ 480 /* Enable bootloader messages if any button is pressed */
479 if (btn) 481 if (btn)