我对宏定义做了一些修改,最后,我在ZMain.C里面写上这行:
uint8 zgDeviceLogicalType = 1; //NODETYPE_COORDINATOR 0x00 NODETYPE_ROUTER 0x01 NODETYPE_DEVICE 02
这样只需要修改一个变量就可以编译coordinator和router,device,但不知道为什么总是进一个失败分支。
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.
我对宏定义做了一些修改,最后,我在ZMain.C里面写上这行:
uint8 zgDeviceLogicalType = 1; //NODETYPE_COORDINATOR 0x00 NODETYPE_ROUTER 0x01 NODETYPE_DEVICE 02
这样只需要修改一个变量就可以编译coordinator和router,device,但不知道为什么总是进一个失败分支。