diff options
Diffstat (limited to 'lib/usbio.h')
-rw-r--r-- | lib/usbio.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/usbio.h b/lib/usbio.h index 4abdb2c..3373855 100644 --- a/lib/usbio.h +++ b/lib/usbio.h @@ -24,10 +24,18 @@ #ifndef SPREADAVR_usbio_h_INCLUDED #define SPREADAVR_usbio_h_INCLUDED +#ifdef __cplusplus +extern "C" { +#endif + #include <stdint.h> void usbio_init(void); void usbio_task(void); int16_t usbio_bytes_received(void); +#ifdef __cplusplus +} +#endif + #endif |