Update UC3 platform driver support to use the bitmasks defined in the header files...
[pub/USBasp.git] / LUFA / Drivers / USB / Core / Pipe.h
index 5354095..5f82937 100644 (file)
@@ -45,7 +45,7 @@
 \r
 /** \ingroup Group_PipeRW\r
  *  \defgroup Group_PipePrimitiveRW Read/Write of Primitive Data Types\r
- *  \brief Pipe data primative read/write definitions.\r
+ *  \brief Pipe data primitive read/write definitions.\r
  *\r
  *  Functions, macros, variables, enums and types related to data reading and writing of primitive data types\r
  *  from and to pipes.\r
 \r
        /* Includes: */\r
                #include "../../../Common/Common.h"\r
-               #include "USBMode.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
                        #include "UC3/Pipe_UC3.h"\r
                #endif\r
 \r
+       /* Disable C linkage for C++ Compilers: */\r
+               #if defined(__cplusplus)\r
+                       }\r
+               #endif\r
+\r
 #endif\r
 \r
 /** @} */\r