- Fixed proton current in mesure
This commit is contained in:
@@ -286,7 +286,7 @@ static int sendZippedNodeData(pHdb node, SConnection *pCon){
|
||||
}
|
||||
memset(iData,0,newValue.arrayLength*sizeof(int));
|
||||
for(i = 0; i < newValue.arrayLength; i++){
|
||||
iData[i] = htonl((int)newValue.v.floatArray[i]*65536.);
|
||||
iData[i] = htonl((int)(newValue.v.floatArray[i]*65536.));
|
||||
}
|
||||
SCWriteZipped(pCon,path, iData,
|
||||
newValue.arrayLength*sizeof(int));
|
||||
|
||||
Reference in New Issue
Block a user