aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers/USB/Core/AVR8/USBInterrupt_AVR8.c
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2012-04-07 17:01:46 +0000
committerDean Camera <dean@fourwalledcubicle.com>2012-04-07 17:01:46 +0000
commit8f4f48d963d0dd5751298a3a301dcbb32e26082b (patch)
tree0c46f6a9f8d439a1edb59ae3088d369b914b3450 /LUFA/Drivers/USB/Core/AVR8/USBInterrupt_AVR8.c
parentd4b45e8502a27c0f5ad3e26eabd2b30e84c20bac (diff)
downloadlufa-8f4f48d963d0dd5751298a3a301dcbb32e26082b.tar.gz
lufa-8f4f48d963d0dd5751298a3a301dcbb32e26082b.tar.bz2
lufa-8f4f48d963d0dd5751298a3a301dcbb32e26082b.zip
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.
Diffstat (limited to 'LUFA/Drivers/USB/Core/AVR8/USBInterrupt_AVR8.c')
-rw-r--r--LUFA/Drivers/USB/Core/AVR8/USBInterrupt_AVR8.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/LUFA/Drivers/USB/Core/AVR8/USBInterrupt_AVR8.c b/LUFA/Drivers/USB/Core/AVR8/USBInterrupt_AVR8.c
index 8dfb0923e..f63cf3eb9 100644
--- a/LUFA/Drivers/USB/Core/AVR8/USBInterrupt_AVR8.c
+++ b/LUFA/Drivers/USB/Core/AVR8/USBInterrupt_AVR8.c
@@ -28,6 +28,9 @@
this software.
*/
+#include "../../../../Common/Common.h"
+#if (ARCH == ARCH_AVR8)
+
#define __INCLUDE_FROM_USB_DRIVER
#include "../USBInterrupt.h"
@@ -273,3 +276,5 @@ ISR(USB_COM_vect, ISR_BLOCK)
}
#endif
+#endif
+