From 8f4f48d963d0dd5751298a3a301dcbb32e26082b Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Sat, 7 Apr 2012 17:01:46 +0000 Subject: Add architecture guards to all architecture-specific files, so that they can be bulk-added to existing IDE projects without having to exclude unused architecture files. --- LUFA/Drivers/USB/Core/UC3/USBInterrupt_UC3.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'LUFA/Drivers/USB/Core/UC3/USBInterrupt_UC3.c') diff --git a/LUFA/Drivers/USB/Core/UC3/USBInterrupt_UC3.c b/LUFA/Drivers/USB/Core/UC3/USBInterrupt_UC3.c index a62646ae8..d411a9305 100644 --- a/LUFA/Drivers/USB/Core/UC3/USBInterrupt_UC3.c +++ b/LUFA/Drivers/USB/Core/UC3/USBInterrupt_UC3.c @@ -28,6 +28,9 @@ this software. */ +#include "../../../../Common/Common.h" +#if (ARCH == ARCH_UC3) + #define __INCLUDE_FROM_USB_DRIVER #include "../USBInterrupt.h" @@ -223,3 +226,4 @@ ISR(USB_COM_vect) } #endif +#endif -- cgit v1.2.3