This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

调用了系统的timer1的配置函数,结果提示出错

Other Parts Discussed in Thread: CC2530, TIMAC, Z-STACK

求问各位老大,我准备用hal_timer.h中的函数配置定时器1,结果报出如下错误。
#include "hal_timer.h"

HalTimerConfig(HAL_TIMER_1,HAL_TIMER_MODE_CTC,HAL_T1_CH1,HAL_TIMER1_CH0_CMP_MODE_SET_ON_COMP_CLR_ON_0,true,0);

Error[e46]: Undefined external "HalTimerConfig::?relay" referred in ...

是不是因为找不到函数实现的地方?怎么解决?