Added debug output for ecrt_slave_config_dc().
--- a/master/slave_config.c Thu May 20 12:46:09 2010 +0200
+++ b/master/slave_config.c Tue May 25 13:32:43 2010 +0200
@@ -687,6 +687,12 @@
uint32_t sync0_cycle_time, uint32_t sync0_shift_time,
uint32_t sync1_cycle_time, uint32_t sync1_shift_time)
{
+ EC_CONFIG_DBG(sc, 1, "%s(sc = 0x%p, assign_activate = 0x%04X,"
+ " sync0_cycle = %u, sync0_shift = %u,"
+ " sync1_cycle = %u, sync1_shift = %u\n",
+ __func__, sc, assign_activate, sync0_cycle_time, sync0_shift_time,
+ sync1_cycle_time, sync1_shift_time);
+
sc->dc_assign_activate = assign_activate;
sc->dc_sync[0].cycle_time = sync0_cycle_time;
sc->dc_sync[0].shift_time = sync0_shift_time;