add extern "C" for cpp

start to work on hal layer
This commit is contained in:
hathach
2012-12-02 11:07:59 +07:00
parent a636d75fc6
commit b36a85ad36
10 changed files with 60 additions and 51 deletions

View File

@@ -46,6 +46,10 @@
* @{
*/
#ifdef __cplusplus
extern "C" {
#endif
#ifndef _TUSB_CFG_H_
#define _TUSB_CFG_H_
@@ -92,6 +96,10 @@
#define CDC_NOTIFICATION_EP_MAXPACKETSIZE 8
#define CDC_DATA_EP_MAXPACKET_SIZE 16
#ifdef __cplusplus
}
#endif
#endif /* _TUSB_CFG_H_ */
/** @} */