summaryrefslogtreecommitdiff
path: root/bootloader
diff options
context:
space:
mode:
Diffstat (limited to 'bootloader')
-rw-r--r--bootloader/sansa_as3525.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/bootloader/sansa_as3525.c b/bootloader/sansa_as3525.c
index c384007898..7b0a8b8d88 100644
--- a/bootloader/sansa_as3525.c
+++ b/bootloader/sansa_as3525.c
@@ -63,8 +63,10 @@ static void usb_mode(void)
(LCD_HEIGHT - SYSFONT_HEIGHT) / 2, msg);
lcd_update();
+ usb_enable(true);
while(usb_detect() == USB_INSERTED)
sleep(HZ);
+ usb_enable(false);
reset_screen();
lcd_update();