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
This commit is contained in:
Rafaël Carré 2010-08-19 16:52:08 +00:00
parent 74ec011bb8
commit 65c4fc2ad2

View file

@ -55,7 +55,7 @@ void usb_remove_int(void)
int usb_detect(void)
{
#if CONFIG_CPU == AS3525v2
#if CONFIG_CPU == AS3525v2 && !defined(USE_ROCKBOX_USB)
/* Rebooting on USB plug can crash these players in a state where
* hardware power off (pressing the power button) doesn't work anymore
* TODO: Implement USB in rockbox for these players */