# HG changeset patch # User Florian Pose # Date 1279870242 -7200 # Node ID 968a531e5a89143431b75a2c95dd7b875dedfe7e # Parent 7d9fb723fc4ba1250fa4dd20a8da34f42c3c66d7 Always set drive_no to zero in ethercat tool (TBC). diff -r 7d9fb723fc4b -r 968a531e5a89 TODO --- a/TODO Tue Jul 20 10:52:31 2010 +0200 +++ b/TODO Fri Jul 23 09:30:42 2010 +0200 @@ -20,6 +20,7 @@ - Output error after usage. - Implement ranges for slaves and domains. * Fix casting away constness during expected WC calculation. +* Include SoE drive_no in ethercat tool. Future issues: diff -r 7d9fb723fc4b -r 968a531e5a89 tool/CommandSoeRead.cpp --- a/tool/CommandSoeRead.cpp Tue Jul 20 10:52:31 2010 +0200 +++ b/tool/CommandSoeRead.cpp Fri Jul 23 09:30:42 2010 +0200 @@ -90,6 +90,8 @@ throwInvalidUsageException(err); } + ioctl.drive_no = 0; // FIXME + try { ioctl.idn = parseIdn(args[0]); } catch (runtime_error &e) { diff -r 7d9fb723fc4b -r 968a531e5a89 tool/CommandSoeWrite.cpp --- a/tool/CommandSoeWrite.cpp Tue Jul 20 10:52:31 2010 +0200 +++ b/tool/CommandSoeWrite.cpp Fri Jul 23 09:30:42 2010 +0200 @@ -92,6 +92,8 @@ throwInvalidUsageException(err); } + ioctl.drive_no = 0; // FIXME + try { ioctl.idn = parseIdn(args[0]); } catch (runtime_error &e) {