master/master.c
changeset 253 6dd3e49dbb85
parent 252 111a5c195b8d
child 259 87b20532872b
equal deleted inserted replaced
252:111a5c195b8d 253:6dd3e49dbb85
   854             coupled++;
   854             coupled++;
   855             EC_INFO("Coupling device %s to slave %i.\n",
   855             EC_INFO("Coupling device %s to slave %i.\n",
   856                     eoe->dev->name, slave->ring_position);
   856                     eoe->dev->name, slave->ring_position);
   857             if (eoe->opened)
   857             if (eoe->opened)
   858                 slave->requested_state = EC_SLAVE_STATE_OP;
   858                 slave->requested_state = EC_SLAVE_STATE_OP;
       
   859             break;
   859         }
   860         }
   860 
   861 
   861         if (!found) {
   862         if (!found) {
   862             EC_WARN("No EoE handler for slave %i!\n", slave->ring_position);
   863             EC_WARN("No EoE handler for slave %i!\n", slave->ring_position);
   863             slave->requested_state = EC_SLAVE_STATE_INIT;
   864             slave->requested_state = EC_SLAVE_STATE_INIT;