equal
deleted
inserted
replaced
309 ec_output_lost_frames(master); |
309 ec_output_lost_frames(master); |
310 return -1; |
310 return -1; |
311 } |
311 } |
312 |
312 |
313 if (unlikely(ec_frame_receive(frame) < 0)) { |
313 if (unlikely(ec_frame_receive(frame) < 0)) { |
314 EC_ERR("Receive error!\n"); |
314 EC_ERR("Receiving process data failed!\n"); |
315 return -1; |
|
316 } |
|
317 |
|
318 if (unlikely(frame->state != ec_frame_received)) { |
|
319 EC_WARN("Process data command not received!\n"); |
|
320 return -1; |
315 return -1; |
321 } |
316 } |
322 |
317 |
323 working_counter_sum += frame->working_counter; |
318 working_counter_sum += frame->working_counter; |
324 |
319 |