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:
parent
52655751fa
commit
f0cde2dff9
1 changed files with 5 additions and 3 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue