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/device | |
| parent | 06c16ae03f0c6b70283392b057137ac20fcb4d82 (diff) | |
added _cplusplus extern wrapper
Diffstat (limited to 'tinyusb/device')
| -rw-r--r-- | tinyusb/device/dcd.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tinyusb/device/dcd.h b/tinyusb/device/dcd.h index 52c92ad5f..fbcae447a 100644 --- a/tinyusb/device/dcd.h +++ b/tinyusb/device/dcd.h @@ -38,10 +38,18 @@ #ifndef _TUSB_DCD_H_ #define _TUSB_DCD_H_ +#ifdef __cplusplus + extern "C" { +#endif + #include "tusb_cfg.h" #ifdef DEVICE_ROMDRIVER #include "romdriver/mw_usbd_rom_api.h" #endif +#ifdef __cplusplus + } +#endif + #endif /* _TUSB_DCD_H_ */ |
