diff options
Diffstat (limited to 'tinyusb/common/common.h')
| -rw-r--r-- | tinyusb/common/common.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tinyusb/common/common.h b/tinyusb/common/common.h index b35639574..a0a50896b 100644 --- a/tinyusb/common/common.h +++ b/tinyusb/common/common.h @@ -51,6 +51,10 @@ #ifndef _TUSB_COMMON_H_ #define _TUSB_COMMON_H_ +#ifdef __cplusplus + extern "C" { +#endif + #include <stddef.h> #include <stdbool.h> #include <string.h> @@ -89,6 +93,10 @@ #define ASSERT_ERROR(sts) ASSERT_ERROR_MESSAGE(sts, NULL) +#ifdef __cplusplus + } +#endif + #endif /* _TUSB_COMMON_H_ */ /** @} */ |
