master/fsm_sii.c
changeset 1965 c6e6ec6ba5d8
parent 1957 b481ccf21272
--- a/master/fsm_sii.c	Tue Sep 21 14:20:23 2010 +0200
+++ b/master/fsm_sii.c	Wed Sep 22 15:41:43 2010 +0200
@@ -184,7 +184,8 @@
     EC_WRITE_U16(datagram->data + 2, fsm->word_offset);
 
 #ifdef SII_DEBUG
-    EC_SLAVE_DBG(slave, 0, "reading SII data:\n");
+    EC_SLAVE_DBG(fsm->slave, 0, "reading SII data, word %u:\n",
+            fsm->word_offset);
     ec_print_data(datagram->data, 4);
 #endif