# HG changeset patch
# User Florian Pose <fp@igh-essen.com>
# Date 1285151192 -7200
# Node ID b481ccf212729504842119f4be8024584e65278c
# Parent  f461dc0d145a5ed703ac4665f17374e4f75aaa17
Minor: Improved SII debugging.

diff -r f461dc0d145a -r b481ccf21272 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