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

Don't show Pdo (entry) names in configuration output.

parent 22499cfe
No related branches found
No related tags found
No related merge requests found
...@@ -139,19 +139,18 @@ void CommandConfig::showDetailedConfigs( ...@@ -139,19 +139,18 @@ void CommandConfig::showDetailedConfigs(
for (k = 0; k < configIter->syncs[j].pdo_count; k++) { for (k = 0; k < configIter->syncs[j].pdo_count; k++) {
m.getConfigPdo(&pdo, configIter->config_index, j, k); m.getConfigPdo(&pdo, configIter->config_index, j, k);
cout << " Pdo 0x" << hex cout << " Pdo 0x" << hex << setw(4) << pdo.index << endl;
<< setw(4) << pdo.index
<< " \"" << pdo.name << "\"" << endl;
for (l = 0; l < pdo.entry_count; l++) { for (l = 0; l < pdo.entry_count; l++) {
m.getConfigPdoEntry(&entry, m.getConfigPdoEntry(&entry,
configIter->config_index, j, k, l); configIter->config_index, j, k, l);
cout << " Pdo entry 0x" << hex cout << " Pdo entry 0x" << hex << setfill('0')
<< setw(4) << entry.index << ":" << setw(4) << entry.index << ":"
<< setw(2) << (unsigned int) entry.subindex << setw(2) << (unsigned int) entry.subindex
<< ", " << dec << (unsigned int) entry.bit_length << ", " << dec << setfill(' ')
<< " bit, \"" << entry.name << "\"" << endl; << setw(2) << (unsigned int) entry.bit_length
<< " bit" << endl;
} }
} }
} }
......
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