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) 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 */