mirror of
https://gitlab.com/etherlab.org/ethercat.git
synced 2026-08-18 00:57:23 +08:00
Always set drive_no to zero in ethercat tool (TBC).
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user