Skip to content
Snippets Groups Projects
Commit 6c447c20 authored by Florian Pose's avatar Florian Pose
Browse files

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

parent 853e2094
No related branches found
No related tags found
No related merge requests found
...@@ -20,6 +20,7 @@ Version 1.5.0: ...@@ -20,6 +20,7 @@ Version 1.5.0:
- Output error after usage. - Output error after usage.
- Implement ranges for slaves and domains. - Implement ranges for slaves and domains.
* Fix casting away constness during expected WC calculation. * Fix casting away constness during expected WC calculation.
* Include SoE drive_no in ethercat tool.
Future issues: Future issues:
......
...@@ -90,6 +90,8 @@ void CommandSoeRead::execute(const StringVector &args) ...@@ -90,6 +90,8 @@ void CommandSoeRead::execute(const StringVector &args)
throwInvalidUsageException(err); throwInvalidUsageException(err);
} }
ioctl.drive_no = 0; // FIXME
try { try {
ioctl.idn = parseIdn(args[0]); ioctl.idn = parseIdn(args[0]);
} catch (runtime_error &e) { } catch (runtime_error &e) {
......
...@@ -92,6 +92,8 @@ void CommandSoeWrite::execute(const StringVector &args) ...@@ -92,6 +92,8 @@ void CommandSoeWrite::execute(const StringVector &args)
throwInvalidUsageException(err); throwInvalidUsageException(err);
} }
ioctl.drive_no = 0; // FIXME
try { try {
ioctl.idn = parseIdn(args[0]); ioctl.idn = parseIdn(args[0]);
} catch (runtime_error &e) { } catch (runtime_error &e) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment