# HG changeset patch
# User Florian Pose <fp@igh-essen.com>
# Date 1213088904 0
# Node ID efb947bd96f39dbb4b4d055c47326a4b398827ab
# Parent  861eb2810f560c4779c835e9086c19502ae26727
Output Sdo index at entry.

diff -r 861eb2810f56 -r efb947bd96f3 tools/Master.cpp
--- a/tools/Master.cpp	Tue Jun 10 09:05:54 2008 +0000
+++ b/tools/Master.cpp	Tue Jun 10 09:08:24 2008 +0000
@@ -1131,8 +1131,9 @@
         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))) {