diff options
Diffstat (limited to 'lib/lufa-descriptor-usbserial.h')
-rw-r--r-- | lib/lufa-descriptor-usbserial.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/lufa-descriptor-usbserial.h b/lib/lufa-descriptor-usbserial.h index 2c9ecaa..fa834f3 100644 --- a/lib/lufa-descriptor-usbserial.h +++ b/lib/lufa-descriptor-usbserial.h @@ -36,6 +36,10 @@ #ifndef _DESCRIPTORS_H_ #define _DESCRIPTORS_H_ +#ifdef __cplusplus +extern "C" { +#endif + /* Includes: */ #include <avr/pgmspace.h> @@ -106,5 +110,9 @@ const void** const DescriptorAddress) ATTR_WARN_UNUSED_RESULT ATTR_NON_NULL_PTR_ARG(3); +#ifdef __cplusplus +} +#endif + #endif |