equal
deleted
inserted
replaced
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)) { |