diff options
author | Rafaël Carré <rafael.carre@gmail.com> | 2010-08-19 16:52:08 +0000 |
---|---|---|
committer | Rafaël Carré <rafael.carre@gmail.com> | 2010-08-19 16:52:08 +0000 |
commit | 65c4fc2ad2ebf7693d1c1eca159652cdc2b7cb33 (patch) | |
tree | 079428ea704c22d4e8079ede296451f22243dc65 /firmware | |
parent | 74ec011bb8df08b0fba3709cc590ce3842b1c973 (diff) | |
download | rockbox-65c4fc2ad2ebf7693d1c1eca159652cdc2b7cb33.tar.gz rockbox-65c4fc2ad2ebf7693d1c1eca159652cdc2b7cb33.zip |
Sansa AMSv2: don't prevent USB detection to work when rockbox USB stack is used
(USB stack is not used by default)
This makes debugging the USB driver easier
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27847 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/target/arm/as3525/usb-as3525.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/arm/as3525/usb-as3525.c b/firmware/target/arm/as3525/usb-as3525.c index 61ceb744a1..45e608a6fe 100644 --- a/firmware/target/arm/as3525/usb-as3525.c +++ b/firmware/target/arm/as3525/usb-as3525.c | |||
@@ -55,7 +55,7 @@ void usb_remove_int(void) | |||
55 | 55 | ||
56 | int usb_detect(void) | 56 | int usb_detect(void) |
57 | { | 57 | { |
58 | #if CONFIG_CPU == AS3525v2 | 58 | #if CONFIG_CPU == AS3525v2 && !defined(USE_ROCKBOX_USB) |
59 | /* Rebooting on USB plug can crash these players in a state where | 59 | /* Rebooting on USB plug can crash these players in a state where |
60 | * hardware power off (pressing the power button) doesn't work anymore | 60 | * hardware power off (pressing the power button) doesn't work anymore |
61 | * TODO: Implement USB in rockbox for these players */ | 61 | * TODO: Implement USB in rockbox for these players */ |