From 7ed5f5a099b0c2e5f62c78b15fde843ea6236c3b Mon Sep 17 00:00:00 2001 From: Florian Pose Date: Fri, 1 Aug 2008 12:32:53 +0000 Subject: [PATCH] Don't show Pdo (entry) names in configuration output. --- tool/CommandConfig.cpp | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/tool/CommandConfig.cpp b/tool/CommandConfig.cpp index 0394e87c..ed4747e8 100644 --- a/tool/CommandConfig.cpp +++ b/tool/CommandConfig.cpp @@ -139,19 +139,18 @@ void CommandConfig::showDetailedConfigs( for (k = 0; k < configIter->syncs[j].pdo_count; k++) { m.getConfigPdo(&pdo, configIter->config_index, j, k); - cout << " Pdo 0x" << hex - << setw(4) << pdo.index - << " \"" << pdo.name << "\"" << endl; + cout << " Pdo 0x" << hex << setw(4) << pdo.index << endl; for (l = 0; l < pdo.entry_count; l++) { m.getConfigPdoEntry(&entry, configIter->config_index, j, k, l); - cout << " Pdo entry 0x" << hex + cout << " Pdo entry 0x" << hex << setfill('0') << setw(4) << entry.index << ":" << setw(2) << (unsigned int) entry.subindex - << ", " << dec << (unsigned int) entry.bit_length - << " bit, \"" << entry.name << "\"" << endl; + << ", " << dec << setfill(' ') + << setw(2) << (unsigned int) entry.bit_length + << " bit" << endl; } } }