From 06653d982ad1382c0f035a69a2be83700f4a69d4 Mon Sep 17 00:00:00 2001 From: Tobias Diedrich Date: Tue, 23 Mar 2010 11:22:21 +0000 Subject: [PATCH] Make this properly dependend on the right defines instead of a blacklist. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25306 a1c6a512-1295-4272-9138-f99709370657 --- firmware/target/arm/as3525/usb-as3525.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firmware/target/arm/as3525/usb-as3525.c b/firmware/target/arm/as3525/usb-as3525.c index 4eb533e13c..37433612ed 100644 --- a/firmware/target/arm/as3525/usb-as3525.c +++ b/firmware/target/arm/as3525/usb-as3525.c @@ -29,7 +29,7 @@ #include "power.h" #include "as3525.h" -#if defined(SANSA_CLIPV2) || defined(SANSA_CLIPPLUS) || defined(SANSA_FUZEV2) +#if CONFIG_CPU != AS3525 && !defined(USB_DETECT_PIN) #warning USB_DETECT_PIN not defined for your target #endif