diff options
author | Christian Pointner <equinox@spreadspace.org> | 2015-06-30 21:42:21 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2015-06-30 21:42:21 +0200 |
commit | 27b0d98d085454a9f3fbaeb73ac3000e5a965db4 (patch) | |
tree | 01c5cd7a67d25a26fe1e886999c4a48dd37dd00e /lib/lufa-descriptor-usbdualserial.h | |
parent | updated copyright info (diff) |
added support for C++ based projects
Diffstat (limited to 'lib/lufa-descriptor-usbdualserial.h')
-rw-r--r-- | lib/lufa-descriptor-usbdualserial.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/lufa-descriptor-usbdualserial.h b/lib/lufa-descriptor-usbdualserial.h index 195c644..58dcc36 100644 --- a/lib/lufa-descriptor-usbdualserial.h +++ b/lib/lufa-descriptor-usbdualserial.h @@ -36,6 +36,10 @@ #ifndef _DESCRIPTORS_H_ #define _DESCRIPTORS_H_ +#ifdef __cplusplus +extern "C" { +#endif + /* Includes: */ #include <avr/pgmspace.h> @@ -131,5 +135,9 @@ const void** const DescriptorAddress) ATTR_WARN_UNUSED_RESULT ATTR_NON_NULL_PTR_ARG(3); +#ifdef __cplusplus +} +#endif + #endif |