Update UC3 platform driver support to use the bitmasks defined in the header files...
[pub/USBasp.git] / LUFA / Drivers / USB / Core / EndpointStream.h
index 54f2d83..f360877 100644 (file)
                #include "../../../Common/Common.h"\r
                #include "USBMode.h"\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
                        #include "AVR8/EndpointStream_AVR8.h"\r
                #elif (ARCH == ARCH_UC3)\r
                        #include "UC3/EndpointStream_UC3.h"\r
+               #elif (ARCH == ARCH_XMEGA)\r
+                       #include "XMEGA/EndpointStream_XMEGA.h" \r
                #endif\r
-               \r
+\r
+       /* Disable C linkage for C++ Compilers: */\r
+               #if defined(__cplusplus)\r
+                       }\r
+               #endif\r
+\r
 #endif\r
 \r
 /** @} */\r