Fixed output of 'ethercat config'.
authorFlorian Pose <fp@igh-essen.com>
Thu, 07 May 2009 10:40:38 +0000
changeset 1456 bd1f69a429f3
parent 1455 aa18fcfe0fd1
child 1457 ec3ad6641d65
Fixed output of 'ethercat config'.
tool/CommandConfig.cpp
--- a/tool/CommandConfig.cpp	Thu May 07 10:33:26 2009 +0000
+++ b/tool/CommandConfig.cpp	Thu May 07 10:40:38 2009 +0000
@@ -225,11 +225,12 @@
                 << "  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;
             }