diff options
| author | hathach <[email protected]> | 2012-11-27 15:35:57 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2012-11-27 15:35:57 +0700 |
| commit | 829c8672bb238e37ba4c2ec9b7a3a3010453e6c0 (patch) | |
| tree | c891a4a3501885349714b5f430398204f78bfb35 /tinyusb/host | |
| parent | 06c16ae03f0c6b70283392b057137ac20fcb4d82 (diff) | |
added _cplusplus extern wrapper
Diffstat (limited to 'tinyusb/host')
| -rw-r--r-- | tinyusb/host/hcd.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tinyusb/host/hcd.h b/tinyusb/host/hcd.h index b7407e0d6..a9932af08 100644 --- a/tinyusb/host/hcd.h +++ b/tinyusb/host/hcd.h @@ -35,3 +35,15 @@ * This file is part of the tiny usb stack. */ +#ifndef _TUSB_HCD_H_ +#define _TUSB_HCD_H_ + +#ifdef __cplusplus + extern "C" { +#endif + +#ifdef __cplusplus + } +#endif + + #endif /* _TUSB_HCD_H_ */ |
