Always set drive_no to zero in ethercat tool (TBC).
This commit is contained in:
parent
190cdce964
commit
03f5ed2b28
1
TODO
1
TODO
|
|
@ -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:
|
||||
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue