Don't make the Sansa bootloaders verbose when USB is connected
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16836 a1c6a512-1295-4272-9138-f99709370657
diff --git a/bootloader/main-pp.c b/bootloader/main-pp.c
index dfb343c..df0a535 100644
--- a/bootloader/main-pp.c
+++ b/bootloader/main-pp.c
@@ -464,6 +464,11 @@
}
btn = button_read_device();
+
+ /* Enable bootloader messages if any button is pressed */
+ if (btn)
+ verbose = true;
+
#if defined(SANSA_E200) || defined(SANSA_C200)
#if !defined(USE_ROCKBOX_USB)
usb_init();
@@ -477,9 +482,6 @@
btn |= BOOTLOADER_BOOT_OF;
#endif /* USE_ROCKBOX_USB */
#endif
- /* Enable bootloader messages if any button is pressed */
- if (btn)
- verbose = true;
lcd_setfont(FONT_SYSFIXED);