forked from gatsby/datalink_repo
miscellaneous update (enhance coherence and readability).
This commit is contained in:
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user