master/fsm_pdo.c
changeset 1338 eb31b5a135da
parent 1327 4d179b06dd3c
child 1363 11c0b2caa253
equal deleted inserted replaced
1337:0253c74d0940 1338:eb31b5a135da
   223         )
   223         )
   224 {
   224 {
   225     if (ec_fsm_coe_exec(fsm->fsm_coe)) return;
   225     if (ec_fsm_coe_exec(fsm->fsm_coe)) return;
   226 
   226 
   227     if (!ec_fsm_coe_success(fsm->fsm_coe)) {
   227     if (!ec_fsm_coe_success(fsm->fsm_coe)) {
   228         EC_ERR("Failed to read number of assigned PDOs for SM%u.\n",
   228         EC_ERR("Failed to read number of assigned PDOs for SM%u"
   229                 fsm->sync_index);
   229                 " of slave %u.\n", fsm->sync_index, fsm->slave->ring_position);
   230         fsm->state = ec_fsm_pdo_state_error;
   230         fsm->state = ec_fsm_pdo_state_error;
   231         return;
   231         return;
   232     }
   232     }
   233 
   233 
   234     if (fsm->request.data_size != sizeof(uint8_t)) {
   234     if (fsm->request.data_size != sizeof(uint8_t)) {