added _cplusplus extern wrapper
This commit is contained in:
@@ -38,6 +38,10 @@
|
||||
#ifndef _TUSB_CFG_H_
|
||||
#define _TUSB_CFG_H_
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include "common/common.h"
|
||||
|
||||
#define CFG_TUSB_HOST
|
||||
@@ -66,4 +70,8 @@
|
||||
#define CDC_NOTIFICATION_EP_MAXPACKETSIZE 8
|
||||
#define CDC_DATA_EP_MAXPACKET_SIZE 16
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _TUSB_CFG_H_ */
|
||||
|
||||
Reference in New Issue
Block a user