forked from gatsby/datalink_repo
adapted new node list api
This commit is contained in:
@@ -434,7 +434,7 @@ int MPC_StateUpload(MPC_INST* instPtr , uint8_t* mgmtBuffer , uint32_t mgmtMsgC
|
|||||||
dataChunk = BIT(L2_GetNodeId(linkInstPtr) - 1);
|
dataChunk = BIT(L2_GetNodeId(linkInstPtr) - 1);
|
||||||
if (GetNodeNum(linkInstPtr->nodeList) > 1 ) {
|
if (GetNodeNum(linkInstPtr->nodeList) > 1 ) {
|
||||||
for(int i = 1; i <= linkInstPtr->config.netScale; i++){
|
for(int i = 1; i <= linkInstPtr->config.netScale; i++){
|
||||||
if (IsNodeInList(linkInstPtr->nodeList, i)) {
|
if (L2_isNodeInList(linkInstPtr->nodeList, i)) {
|
||||||
dataChunk |= BIT(i-1);
|
dataChunk |= BIT(i-1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user