author | Florian Pose <fp@igh.de> |
Wed, 13 Dec 2017 16:00:43 +0100 | |
branch | stable-1.5 |
changeset 2694 | ab97efc5513a |
parent 2693 | 8051d05cb935 |
child 2695 | ad58465e75ca |
--- a/tool/CommandSdos.cpp Wed Dec 13 15:39:13 2017 +0100 +++ b/tool/CommandSdos.cpp Wed Dec 13 16:00:43 2017 +0100 @@ -145,7 +145,12 @@ continue; for (j = 0; j <= sdo.max_subindex; j++) { - m.getSdoEntry(&entry, slave.position, -i, j); + try { + m.getSdoEntry(&entry, slave.position, -i, j); + } + catch (MasterDeviceException &e) { + continue; + } cout << " 0x" << hex << setfill('0') << setw(4) << sdo.sdo_index << ":"