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
This commit is contained in:
Dave Chapman 2008-03-27 00:31:51 +00:00
parent 52655751fa
commit f0cde2dff9

View file

@ -464,6 +464,11 @@ void* main(void)
}
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 @@ void* main(void)
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);