Fix compilation

This commit is contained in:
Stephan Hadinger 2020-10-29 12:50:02 +01:00
parent 0cfe1ac3e1
commit e42c87c9f3
1 changed files with 10 additions and 0 deletions

View File

@ -969,7 +969,12 @@ void CmndZbBindState_or_Map(uint16_t zdo_cmd) {
// `ZbBindState<x>` as index if it does not fit. If default, `1` starts at the beginning
//
void CmndZbBindState(void) {
#ifdef USE_ZIGBEE_ZNP
CmndZbBindState_or_Map(ZDO_MGMT_BIND_REQ);
#endif // USE_ZIGBEE_ZNP
#ifdef USE_ZIGBEE_EZSP
CmndZbBindState_or_Map(ZDO_Mgmt_Bind_req);
#endif // USE_ZIGBEE_EZSP
}
//
@ -977,7 +982,12 @@ void CmndZbBindState(void) {
// `ZbMap<x>` as index if it does not fit. If default, `1` starts at the beginning
//
void CmndZbMap(void) {
#ifdef USE_ZIGBEE_ZNP
CmndZbBindState_or_Map(ZDO_MGMT_LQI_REQ);
#endif // USE_ZIGBEE_ZNP
#ifdef USE_ZIGBEE_EZSP
CmndZbBindState_or_Map(ZDO_Mgmt_Lqi_req);
#endif // USE_ZIGBEE_EZSP
}
// Probe a specific device to get its endpoints and supported clusters