Minor: Improved SII debugging.
authorFlorian Pose <fp@igh-essen.com>
Wed, 22 Sep 2010 12:26:32 +0200
changeset 1957 b481ccf21272
parent 1956 f461dc0d145a
child 1958 7dceb43bd855
Minor: Improved SII debugging.
master/fsm_sii.c
--- a/master/fsm_sii.c	Sat Jul 31 16:45:10 2010 +0200
+++ b/master/fsm_sii.c	Wed Sep 22 12:26:32 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