diff options
Diffstat (limited to 'core/usb/usb_lib/usb_core.h')
-rw-r--r-- | core/usb/usb_lib/usb_core.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/core/usb/usb_lib/usb_core.h b/core/usb/usb_lib/usb_core.h index efeaad8..1931fbf 100644 --- a/core/usb/usb_lib/usb_core.h +++ b/core/usb/usb_lib/usb_core.h @@ -17,6 +17,10 @@ #ifndef __USB_CORE_H
#define __USB_CORE_H
+#if defined(__cplusplus)
+extern "C" {
+#endif
+
/* Includes ------------------------------------------------------------------*/
/* Exported types ------------------------------------------------------------*/
typedef enum _CONTROL_STATE
@@ -239,6 +243,10 @@ extern DEVICE_INFO Device_Info; extern u16 SaveRState;
extern u16 SaveTState;
+#if defined(__cplusplus)
+}
+#endif
+
#endif /* __USB_CORE_H */
/******************* (C) COPYRIGHT 2008 STMicroelectronics *****END OF FILE****/
|