equal
deleted
inserted
replaced
292 |
292 |
293 ec_frame_init_lrw(frame, master, domain->base_address + offset, size, |
293 ec_frame_init_lrw(frame, master, domain->base_address + offset, size, |
294 domain->data + offset); |
294 domain->data + offset); |
295 |
295 |
296 if (unlikely(ec_frame_send(frame) < 0)) { |
296 if (unlikely(ec_frame_send(frame) < 0)) { |
297 EC_ERR("Could not send process data command!\n"); |
297 master->device.state = EC_DEVICE_STATE_READY; |
|
298 master->frames_lost++; |
|
299 ec_cyclic_output(master); |
|
300 |
|
301 // Falls Link down... |
|
302 ec_device_call_isr(&master->device); |
|
303 |
298 return -1; |
304 return -1; |
299 } |
305 } |
300 |
306 |
301 // Warten |
307 // Warten |
302 do { |
308 do { |