projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update UC3 platform driver support to use the bitmasks defined in the header files...
[pub/USBasp.git]
/
LUFA
/
Drivers
/
USB
/
Core
/
USBInterrupt.h
diff --git
a/LUFA/Drivers/USB/Core/USBInterrupt.h
b/LUFA/Drivers/USB/Core/USBInterrupt.h
index
735d0e1
..
c69d15a
100644
(file)
--- a/
LUFA/Drivers/USB/Core/USBInterrupt.h
+++ b/
LUFA/Drivers/USB/Core/USBInterrupt.h
@@
-44,7
+44,12
@@
/* Includes: */
\r
#include "../../../Common/Common.h"
\r
#include "USBMode.h"
\r
/* Includes: */
\r
#include "../../../Common/Common.h"
\r
#include "USBMode.h"
\r
-
\r
+
\r
+ /* Enable C linkage for C++ Compilers: */
\r
+ #if defined(__cplusplus)
\r
+ extern "C" {
\r
+ #endif
\r
+
\r
/* Preprocessor Checks: */
\r
#if !defined(__INCLUDE_FROM_USB_DRIVER)
\r
#error Do not include this file directly. Include LUFA/Drivers/USB/USB.h instead.
\r
/* Preprocessor Checks: */
\r
#if !defined(__INCLUDE_FROM_USB_DRIVER)
\r
#error Do not include this file directly. Include LUFA/Drivers/USB/USB.h instead.
\r
@@
-53,8
+58,15
@@
/* Architecture Includes: */
\r
#if (ARCH == ARCH_AVR8)
\r
#include "AVR8/USBInterrupt_AVR8.h"
\r
/* Architecture Includes: */
\r
#if (ARCH == ARCH_AVR8)
\r
#include "AVR8/USBInterrupt_AVR8.h"
\r
- #elif (ARCH == ARCH_UC3B)
\r
- #include "UC3B/USBInterrupt_UC3B.h"
\r
+ #elif (ARCH == ARCH_UC3)
\r
+ #include "UC3/USBInterrupt_UC3.h"
\r
+ #elif (ARCH == ARCH_XMEGA)
\r
+ #include "XMEGA/USBInterrupt_XMEGA.h"
\r
+ #endif
\r
+
\r
+ /* Disable C linkage for C++ Compilers: */
\r
+ #if defined(__cplusplus)
\r
+ }
\r
#endif
\r
\r
#endif
\r
#endif
\r
\r
#endif
\r