diff options
Diffstat (limited to 'core/usb/usb_lib/usb_init.h')
-rw-r--r-- | core/usb/usb_lib/usb_init.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/core/usb/usb_lib/usb_init.h b/core/usb/usb_lib/usb_init.h index 76e9d8a..1091ce5 100644 --- a/core/usb/usb_lib/usb_init.h +++ b/core/usb/usb_lib/usb_init.h @@ -17,6 +17,10 @@ #ifndef __USB_INIT_H
#define __USB_INIT_H
+#if defined(__cplusplus)
+extern "C" {
+#endif
+
/* Includes ------------------------------------------------------------------*/
/* Exported types ------------------------------------------------------------*/
/* Exported constants --------------------------------------------------------*/
@@ -44,6 +48,10 @@ extern USER_STANDARD_REQUESTS *pUser_Standard_Requests; extern u16 SaveState ;
extern u16 wInterrupt_Mask;
+#if defined(__cplusplus)
+}
+#endif
+
#endif /* __USB_INIT_H */
/******************* (C) COPYRIGHT 2008 STMicroelectronics *****END OF FILE****/
|