硬件:CC2538
协议栈:Z-Stack Mesh 1.0.0
例程:GenericApp.eww
问题描述:
在ZMain.c中,有开启看门狗的语句,如下:
#ifdef WDT_IN_PM1
/* If WDT is used, this is a good place to enable it. */
WatchDogEnable( WD
tiMX );
#endif
但是预编译WDT_IN_PM1后,提示:
Error[Pe223]: function "WatchDogEnable" declared implicitly D:Z-Stack Mesh 1.0.0ProjectszstackZMainTI2538DBZMain.c 146
Error[Pe020]: identifier "WDTIMX" is undefined D:Z-Stack Mesh 1.0.0ProjectszstackZMainTI2538DBZMain.c 146
请问如何解决??