You are correct diff was done in the wrong order.
--- /opt/wheezy_rootfs/usr/src/ethercat-1.5.2/tool/CommandXml.cpp 2014-04-21 16:14:32.046012530 -0700 +++ ethercat-1.5.2/tool/CommandXml.cpp 2014-04-18 09:59:24.978013103 -0700 @@ -118,7 +118,7 @@ cout << in << "<EtherCATInfo>" << endl - << in << " <!-- Slave " << slave.position << " -->" << endl + << in << " <!-- Slave " << dec << slave.position << " -->" << endl << in << " <Vendor>" << endl << in << " <Id>" << slave.vendor_id << "</Id>" << endl << in << " </Vendor>" << endl On Tue, 2014-04-22 at 10:39 +1200, Gavin Lambert wrote: > On Saturday, 19 April 2014 06:53, quoth Henry Bausley: > > When using the command ethercat xml and a junction box ie. EK1152 or > > likely anything else that does not have syncs the command will report > > incorrectly the subsequent device's slave position and vendor id in hex. > [...] > > - << in << " <!-- Slave " << dec << slave.position << " -->" << > > endl > > + << in << " <!-- Slave " << slave.position << " -->" << endl > > I think you have the patch reversed. > > Outbound scan for Spam or Virus by Barracuda at Delta Tau _______________________________________________ etherlab-dev mailing list etherlab-dev@etherlab.org http://lists.etherlab.org/mailman/listinfo/etherlab-dev