mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-08 20:55:17 -05:00
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:
parent
74ec011bb8
commit
65c4fc2ad2
1 changed files with 1 additions and 1 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue