src/sdo.c
changeset 676 11e95dd60ffc
parent 672 3bbc9aeba925
child 682 dce1e0af6604
child 711 4b64e17396af
equal deleted inserted replaced
675:e5c5101c4f0b 676:11e95dd60ffc
  2052 			if(nodeIdServer == 0)
  2052 			if(nodeIdServer == 0)
  2053 			{
  2053 			{
  2054 				*(UNS32*)d->objdict[offset].pSubindex[1].pObject = (UNS32)(0x600 + nodeId);
  2054 				*(UNS32*)d->objdict[offset].pSubindex[1].pObject = (UNS32)(0x600 + nodeId);
  2055 				*(UNS32*)d->objdict[offset].pSubindex[2].pObject = (UNS32)(0x580 + nodeId);
  2055 				*(UNS32*)d->objdict[offset].pSubindex[2].pObject = (UNS32)(0x580 + nodeId);
  2056 				*(UNS8*) d->objdict[offset].pSubindex[3].pObject = nodeId;
  2056 				*(UNS8*) d->objdict[offset].pSubindex[3].pObject = nodeId;
  2057 				return _writeNetworkDict (d, nodeId, index, subIndex, count, dataType, data, Callback, 1, useBlockMode);
  2057 				return _writeNetworkDict (d, nodeId, index, subIndex, count, dataType, data, Callback, endianize, useBlockMode);
  2058 			}
  2058 			}
  2059 			offset++;
  2059 			offset++;
  2060 		}
  2060 		}
  2061 		return 0xFF;
  2061 		return 0xFF;
  2062 	}
  2062 	}