mirror of https://github.com/ARMmbed/mbed-os.git
NANO130 add extern C into nano100_usbd.h for C++ caller
parent
93fbef2cde
commit
a5aaabff5d
targets/TARGET_NUVOTON/TARGET_NANO100/device/StdDriver
|
@ -9,7 +9,10 @@
|
|||
******************************************************************************/
|
||||
#ifndef __USBD_H__
|
||||
#define __USBD_H__
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
/** @addtogroup NANO100_Device_Driver NANO100 Device Driver
|
||||
@{
|
||||
|
@ -501,6 +504,9 @@ void USBD_LockEpStall(uint32_t u32EpBitmap);
|
|||
|
||||
/*@}*/ /* end of group NANO100_Device_Driver */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif //__USBD_H__
|
||||
|
||||
|
|
Loading…
Reference in New Issue