summaryrefslogtreecommitdiff
path: root/tinyusb/common/errors.h
diff options
context:
space:
mode:
authorhathach <[email protected]>2012-11-27 15:35:57 +0700
committerhathach <[email protected]>2012-11-27 15:35:57 +0700
commit829c8672bb238e37ba4c2ec9b7a3a3010453e6c0 (patch)
treec891a4a3501885349714b5f430398204f78bfb35 /tinyusb/common/errors.h
parent06c16ae03f0c6b70283392b057137ac20fcb4d82 (diff)
added _cplusplus extern wrapper
Diffstat (limited to 'tinyusb/common/errors.h')
-rw-r--r--tinyusb/common/errors.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/tinyusb/common/errors.h b/tinyusb/common/errors.h
index 0106fb988..e4a75f0e8 100644
--- a/tinyusb/common/errors.h
+++ b/tinyusb/common/errors.h
@@ -38,5 +38,13 @@
#ifndef _TUSB_ERRORS_H_
#define _TUSB_ERRORS_H_
+#ifdef __cplusplus
+ extern "C" {
+#endif
+
+
+#ifdef __cplusplus
+ }
+#endif
#endif /* _TUSB_ERRORS_H_ */