master/fsm_slave_scan.c
changeset 1470 cb424feef942
parent 1425 c1322a8793c0
child 1543 373cd456dc26
child 1579 326d47aa986c
equal deleted inserted replaced
1469:873e4ee3d5ec 1470:cb424feef942
   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;