Output Sdo index at entry.
This commit is contained in:
parent
44ba1bdec6
commit
c7a066e7c3
|
|
@ -1131,8 +1131,9 @@ void Master::listSlaveSdos(
|
|||
for (j = 0; j <= sdo.max_subindex; j++) {
|
||||
getSdoEntry(&entry, slavePosition, -i, j);
|
||||
|
||||
cout << " " << hex << setfill('0') << setw(2)
|
||||
<< (unsigned int) entry.sdo_entry_subindex
|
||||
cout << " " << hex << setfill('0')
|
||||
<< setw(4) << sdo.sdo_index << ":"
|
||||
<< setw(2) << (unsigned int) entry.sdo_entry_subindex
|
||||
<< ", ";
|
||||
|
||||
if ((d = findDataType(entry.data_type))) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue