From cfc9733f9d63d7a245e9867516f3b97f8ef7c5f9 Mon Sep 17 00:00:00 2001 From: Florian Pose Date: Thu, 7 May 2009 10:40:38 +0000 Subject: [PATCH] Fixed output of 'ethercat config'. --- tool/CommandConfig.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tool/CommandConfig.cpp b/tool/CommandConfig.cpp index 58acdf79..5ecd4ca6 100644 --- a/tool/CommandConfig.cpp +++ b/tool/CommandConfig.cpp @@ -225,11 +225,12 @@ void CommandConfig::showDetailedConfigs( << " AssignActivate: 0x" << hex << setfill('0') << setw(4) << configIter->dc_assign_activate << endl; - cout << " Cycle time [ns] Shift time [ns]" << endl; + cout << " Cycle [ns] Shift [ns]" << endl; for (i = 0; i < EC_SYNC_SIGNAL_COUNT; i++) { - cout << " SYNC" << dec << i << setfill(' ') << right + cout << " SYNC" << dec << i << " " + << setfill(' ') << right << setw(11) << configIter->dc_sync[i].cycle_time - << " " + << " " << setw(11) << configIter->dc_sync[i].shift_time << endl; }