summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm/as3525
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2014-12-30 17:36:59 +0100
committerAmaury Pouly <amaury.pouly@gmail.com>2015-01-08 16:07:12 +0100
commit66690ca98709773c2591d6090d9c0274bb723c37 (patch)
tree6cfcebd734c58e4dada1f4ed28fb07e48d20f25d /firmware/target/arm/as3525
parentf91434cc7b4204ca47c86090928cdd454dd52606 (diff)
downloadrockbox-66690ca98709773c2591d6090d9c0274bb723c37.tar.gz
rockbox-66690ca98709773c2591d6090d9c0274bb723c37.tar.bz2
rockbox-66690ca98709773c2591d6090d9c0274bb723c37.zip
Get rid of USE_ROCKBOX_USB
Except for unfinished or experimental ports, it isthe case that USE_ROCKBOX_USB and HAVE_USBSTACK are both defined or both undefined. Furthermore, it is a leftover of some early developments on the USB stack and doesn't make sense anymore. Change-Id: Ic87a865b6bb4c7c9a8d45d1f0bb0f2fb536b8cad Reviewed-on: http://gerrit.rockbox.org/1091 Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
Diffstat (limited to 'firmware/target/arm/as3525')
-rw-r--r--firmware/target/arm/as3525/usb-as3525.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/arm/as3525/usb-as3525.c b/firmware/target/arm/as3525/usb-as3525.c
index 99ae66dc15..d9fb1fdfec 100644
--- a/firmware/target/arm/as3525/usb-as3525.c
+++ b/firmware/target/arm/as3525/usb-as3525.c
@@ -32,7 +32,7 @@ static int usb_status = USB_EXTRACTED;
void usb_enable(bool on)
{
-#if defined(HAVE_USBSTACK) && defined(USE_ROCKBOX_USB)
+#if defined(HAVE_USBSTACK)
if (on)
usb_core_init();
else