bug correction in sdo.c, in writeNetworkDictCallBackAI a call to _writeNetworkDict had endianize forced to 1
authorMongo
Thu, 15 Dec 2011 14:51:20 +0100
changeset 672 3bbc9aeba925
parent 671 06b30f679531
child 676 11e95dd60ffc
child 677 54e47953df3e
child 711 4b64e17396af
bug correction in sdo.c, in writeNetworkDictCallBackAI a call to _writeNetworkDict had endianize forced to 1
src/sdo.c
--- a/src/sdo.c	Tue Dec 13 17:38:12 2011 +0100
+++ b/src/sdo.c	Thu Dec 15 14:51:20 2011 +0100
@@ -2054,7 +2054,7 @@
 				*(UNS32*)d->objdict[offset].pSubindex[1].pObject = (UNS32)(0x600 + nodeId);
 				*(UNS32*)d->objdict[offset].pSubindex[2].pObject = (UNS32)(0x580 + nodeId);
 				*(UNS8*) d->objdict[offset].pSubindex[3].pObject = nodeId;
-				return _writeNetworkDict (d, nodeId, index, subIndex, count, dataType, data, Callback, 1, useBlockMode);
+				return _writeNetworkDict (d, nodeId, index, subIndex, count, dataType, data, Callback, endianize, useBlockMode);
 			}
 			offset++;
 		}