diff --git a/TODO b/TODO index b9a1ea62..81fc8bdb 100644 --- a/TODO +++ b/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: diff --git a/tool/CommandSoeRead.cpp b/tool/CommandSoeRead.cpp index 74367e79..1653ce64 100644 --- a/tool/CommandSoeRead.cpp +++ b/tool/CommandSoeRead.cpp @@ -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) { diff --git a/tool/CommandSoeWrite.cpp b/tool/CommandSoeWrite.cpp index ee98b11a..4c542426 100644 --- a/tool/CommandSoeWrite.cpp +++ b/tool/CommandSoeWrite.cpp @@ -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) {