Added enable bit to sync manager debugging.
--- a/master/master.c Wed Oct 18 12:04:24 2006 +0000
+++ b/master/master.c Wed Oct 18 12:34:00 2006 +0000
@@ -680,9 +680,9 @@
sync_size = ec_slave_calc_sync_size(slave, sync);
if (slave->master->debug_level) {
- EC_DBG("Slave %3i, SM %i: Addr 0x%04X, Size %3i, Ctrl 0x%02X\n",
+ EC_DBG("Slave %3i, SM %i: Addr 0x%04X, Size %3i, Ctrl 0x%02X, En %i\n",
slave->ring_position, sync->index, sync->physical_start_address,
- sync_size, sync->control_register);
+ sync_size, sync->control_register, sync->enable);
}
EC_WRITE_U16(data, sync->physical_start_address);