aqhome-tool: started working on flash module
This commit is contained in:
@@ -73,8 +73,7 @@ GWEN_MSG *Utils_WaitForSpecificNodeMessage(GWEN_MSG_ENDPOINT_MGR *emgr, GWEN_MSG
|
||||
"Received node msg from %d (%d)",
|
||||
AQH_NodeMsg_GetSourceAddress(nodeMsg),
|
||||
AQH_NodeMsg_GetMsgType(nodeMsg));
|
||||
if (AQH_NodeMsg_GetMsgType(nodeMsg)==msgCode &&
|
||||
AQH_NodeMsg_GetSourceAddress(nodeMsg)==nodeAddr) {
|
||||
if (AQH_NodeMsg_GetMsgType(nodeMsg)==msgCode && (nodeAddr==0 || AQH_NodeMsg_GetSourceAddress(nodeMsg)==nodeAddr)) {
|
||||
GWEN_Msg_free(msg);
|
||||
return nodeMsg;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user