# HG changeset patch
# User Florian Pose <fp@igh-essen.com>
# Date 1212498833 0
# Node ID 41a9937383832a92f4c744ebf2c6d7f53d59174f
# Parent  a059c79b572352549a357a2d546f58ee359e0ce6
Added debugging for ecrt_slave_config_reg_pdo_entry().

diff -r a059c79b5723 -r 41a993738383 master/slave_config.c
--- a/master/slave_config.c	Tue Jun 03 12:04:14 2008 +0000
+++ b/master/slave_config.c	Tue Jun 03 13:13:53 2008 +0000
@@ -611,6 +611,12 @@
     ec_pdo_entry_t *entry;
     int sync_offset;
 
+    if (sc->master->debug_level)
+        EC_DBG("ecrt_slave_config_reg_pdo_entry(sc = 0x%x, index = 0x%04X, "
+                "subindex = 0x%02X, domain = 0x%x, bit_position = 0x%x)\n",
+                (unsigned int) sc, index, subindex, (unsigned int) domain,
+                (unsigned int) bit_position);
+
     for (dir = EC_DIR_OUTPUT; dir <= EC_DIR_INPUT; dir++) {
         pdos = &sc->pdos[dir];
         bit_offset = 0;