projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add architecture guards to all architecture-specific files, so that they can be bulk...
[pub/USBasp.git]
/
LUFA
/
Drivers
/
USB
/
Core
/
XMEGA
/
USBController_XMEGA.c
diff --git
a/LUFA/Drivers/USB/Core/XMEGA/USBController_XMEGA.c
b/LUFA/Drivers/USB/Core/XMEGA/USBController_XMEGA.c
index
a7fa9d1
..
387e8e4
100644
(file)
--- a/
LUFA/Drivers/USB/Core/XMEGA/USBController_XMEGA.c
+++ b/
LUFA/Drivers/USB/Core/XMEGA/USBController_XMEGA.c
@@
-28,6
+28,9
@@
this software.
*/
+#include "../../../../Common/Common.h"
+#if (ARCH == ARCH_XMEGA)
+
#define __INCLUDE_FROM_USB_DRIVER
#define __INCLUDE_FROM_USB_CONTROLLER_C
#include "../USBController.h"
@@
-178,3
+181,4
@@
static void USB_Init_Device(void)
}
#endif
+#endif