master/slave.c
branchstable-1.1
changeset 1722 14024a941c2e
parent 1719 42ed27ae6785
child 1731 60b2aad9d40b
--- a/master/slave.c	Fri Sep 08 13:06:09 2006 +0000
+++ b/master/slave.c	Mon Sep 11 09:28:26 2006 +0000
@@ -530,8 +530,10 @@
     off += ec_state_string(slave->current_state, buffer + off);
     off += sprintf(buffer + off, "\nRing position: %i\n",
                    slave->ring_position);
-    off += sprintf(buffer + off, "Advanced position: %i:%i\n\n",
+    off += sprintf(buffer + off, "Advanced position: %i:%i\n",
                    slave->coupler_index, slave->coupler_subindex);
+    off += sprintf(buffer + off, "Coupler: %s\n\n",
+                   ec_slave_is_coupler(slave) ? "yes" : "no");
 
     off += sprintf(buffer + off, "Data link status:\n");
     for (i = 0; i < 4; i++) {