#ifndef _BSP_H_
#define _BSP_H_
#ifdef __cplusplus
extern "C" {
#endif
#include "CommDef.h"
#include "BSP_UART.h"
void HWDelay(ulong ulDelayTimes);
void HWDelay_us(ulong ulDelayTimes);
#ifdef __cplusplus
}
#endif
#endif
我想在C文件调用C++文件的函数,但是一直报这些错误,这是啥原因啊,是我写错了吗,报错都error: #40: expected an identifier
error: #65: expected a ";"
error: #169: expected a declaration
说我标识符重复啥的,看不懂哪里重复了