aqhome-tool: started working on flash module

This commit is contained in:
Martin Preuss
2023-04-20 00:43:35 +02:00
parent c65bd60bc5
commit 6f5ab3b0b8
5 changed files with 412 additions and 2 deletions

View File

@@ -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;
}