equal
deleted
inserted
replaced
299 " handle (%u).\n", slave->ring_position, |
299 " handle (%u).\n", slave->ring_position, |
300 slave->base_fmmu_count, EC_MAX_FMMUS); |
300 slave->base_fmmu_count, EC_MAX_FMMUS); |
301 slave->base_fmmu_count = EC_MAX_FMMUS; |
301 slave->base_fmmu_count = EC_MAX_FMMUS; |
302 } |
302 } |
303 |
303 |
304 slave->base_sync_count = EC_READ_U8 (datagram->data + 5); |
304 slave->base_sync_count = EC_READ_U8(datagram->data + 5); |
305 if (slave->base_sync_count > EC_MAX_SYNC_MANAGERS) { |
305 if (slave->base_sync_count > EC_MAX_SYNC_MANAGERS) { |
306 EC_WARN("Slave %u provides more sync managers (%u) than the master can" |
306 EC_WARN("Slave %u provides more sync managers (%u) than the master can" |
307 " handle (%u).\n", slave->ring_position, |
307 " handle (%u).\n", slave->ring_position, |
308 slave->base_sync_count, EC_MAX_SYNC_MANAGERS); |
308 slave->base_sync_count, EC_MAX_SYNC_MANAGERS); |
309 slave->base_sync_count = EC_MAX_SYNC_MANAGERS; |
309 slave->base_sync_count = EC_MAX_SYNC_MANAGERS; |