Added enable bit to sync manager debugging.

This commit is contained in:
Florian Pose 2006-10-18 12:34:00 +00:00
parent 3edfc24f83
commit 6d2d0b6674
1 changed files with 2 additions and 2 deletions

View File

@ -680,9 +680,9 @@ void ec_sync_config(const ec_sii_sync_t *sync, /**< sync manager */
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);