1
2
3
4
5
6
7
8
9
10
11
12
13
rm/as352
index 5eb7461..74bfc17 100644
--- a/firmware/target/arm/as3525/usb-as3525.c
+++ b/firmware/target/arm/as3525/usb-as3525.c
@@ -39,7 +39,7 @@ static int usb_status = USB_EXTRACTED;

 void usb_enable(bool on)
 {
-#ifdef HAVE_USBSTACK
+#if defined(HAVE_USBSTACK) && defined(USE_ROCKBOX_USB)
     if (on)
         usb_core_init();
     else