summaryrefslogtreecommitdiff
path: root/bootloader/main-pp.c
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2008-03-27 00:31:51 +0000
committerDave Chapman <dave@dchapman.com>2008-03-27 00:31:51 +0000
commitf0cde2dff9bad225fe76ae5fc24f99d1dc97c8bd (patch)
tree6f85567cc23ee490958ee3e80f617b09d6aaa455 /bootloader/main-pp.c
parent52655751faa5a72cedbd48b33d036cf5cd258487 (diff)
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
Diffstat (limited to 'bootloader/main-pp.c')
-rw-r--r--bootloader/main-pp.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/bootloader/main-pp.c b/bootloader/main-pp.c
index dfb343c2da..df0a535572 100644
--- a/bootloader/main-pp.c
+++ b/bootloader/main-pp.c
@@ -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);