From f0cde2dff9bad225fe76ae5fc24f99d1dc97c8bd Mon Sep 17 00:00:00 2001 From: Dave Chapman Date: Thu, 27 Mar 2008 00:31:51 +0000 Subject: 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 --- bootloader/main-pp.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'bootloader') 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); -- cgit v1.2.3