master/domain.c
changeset 90 044e97bce4bd
parent 84 b4ae98855cea
child 91 0120d6214948
equal deleted inserted replaced
89:e91ef35c36db 90:044e97bce4bd
   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