summaryrefslogtreecommitdiffstats
path: root/bootloader
diff options
context:
space:
mode:
authorMihail Zenkov <mihail.zenkov@gmail.com>2015-06-01 23:41:15 +0000
committerMichael Giacomelli <giac2000@hotmail.com>2015-06-02 02:02:51 +0200
commit2ec6fbc827b559847b4f0d54d44de5299b8ab6cc (patch)
treecb818078bbf1543242943369927279c73d950b30 /bootloader
parente7550a4f6e77deffe45a00e3546fea431f672972 (diff)
downloadrockbox-2ec6fbc827b559847b4f0d54d44de5299b8ab6cc.tar.gz
rockbox-2ec6fbc827b559847b4f0d54d44de5299b8ab6cc.tar.bz2
rockbox-2ec6fbc827b559847b4f0d54d44de5299b8ab6cc.zip
AMS: fix usb initialization in bootloader
Regression after 8b8b85433f6e9ac673adb Change-Id: I86389be0b85c5c2ad8a32d7089a6a79a6b7c8708
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 14cb2ab7a5..fb3ba98346 100644
--- a/bootloader/sansa_as3525.c
+++ b/bootloader/sansa_as3525.c
@@ -137,6 +137,7 @@ void main(void)
{
#ifdef HAVE_BOOTLOADER_USB_MODE
error(EDISK, ret, false);
+ usb_start_monitoring();
usb_mode();
#else
error(EDISK, ret, true);
@@ -152,6 +153,7 @@ void main(void)
{
#ifdef HAVE_BOOTLOADER_USB_MODE
error(EBOOTFILE, ret, false);
+ usb_start_monitoring();
usb_mode();
#else
error(EBOOTFILE, ret, true);