Always set drive_no to zero in ethercat tool (TBC).

This commit is contained in:
Florian Pose 2010-07-23 09:30:42 +02:00
parent 190cdce964
commit 03f5ed2b28
3 changed files with 5 additions and 0 deletions

1
TODO
View File

@ -20,6 +20,7 @@ Version 1.5.0:
- 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:

View File

@ -90,6 +90,8 @@ void CommandSoeRead::execute(const StringVector &args)
throwInvalidUsageException(err);
}
ioctl.drive_no = 0; // FIXME
try {
ioctl.idn = parseIdn(args[0]);
} catch (runtime_error &e) {

View File

@ -92,6 +92,8 @@ void CommandSoeWrite::execute(const StringVector &args)
throwInvalidUsageException(err);
}
ioctl.drive_no = 0; // FIXME
try {
ioctl.idn = parseIdn(args[0]);
} catch (runtime_error &e) {