miscellaneous update (enhance coherence and readability).

This commit is contained in:
Gatsby Van
2023-12-20 20:15:40 +08:00
parent 89e33f0f43
commit 9e798cb8b0
3 changed files with 112 additions and 107 deletions
+1 -1
View File
@@ -431,7 +431,7 @@ int MPC_StateUpload(MPC_INST* instPtr , uint8_t* mgmtBuffer , uint32_t mgmtMsgC
// TODO : Currently DJ is node 1 , only Byte 1 is activate , others is useless
// Topo node 1
dataChunk = BIT(linkInstPtr->myInfo.nodeId - 1);
dataChunk = BIT(L2_GetNodeId(linkInstPtr) - 1);
if (GetNodeNum(linkInstPtr->nodeList) > 1 ) {
for(int i = 1; i <= linkInstPtr->config.netScale; i++){
if (IsNodeInList(linkInstPtr->nodeList, i)) {