diff options
Diffstat (limited to 'firmware/target/arm/as3525/usb-as3525.c')
-rw-r--r-- | firmware/target/arm/as3525/usb-as3525.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/firmware/target/arm/as3525/usb-as3525.c b/firmware/target/arm/as3525/usb-as3525.c index 524d8d2c7d..61ceb744a1 100644 --- a/firmware/target/arm/as3525/usb-as3525.c +++ b/firmware/target/arm/as3525/usb-as3525.c | |||
@@ -55,5 +55,11 @@ void usb_remove_int(void) | |||
55 | 55 | ||
56 | int usb_detect(void) | 56 | int usb_detect(void) |
57 | { | 57 | { |
58 | #if CONFIG_CPU == AS3525v2 | ||
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 | ||
61 | * TODO: Implement USB in rockbox for these players */ | ||
62 | return USB_EXTRACTED; | ||
63 | #endif | ||
58 | return usb_status; | 64 | return usb_status; |
59 | } | 65 | } |