Commit 68e640ea authored by Adam Wujek's avatar Adam Wujek 💬

proto-ext-whiterabbit: add missing wrs_shm_write in wr-servo

Signed-off-by: Adam Wujek's avatarAdam Wujek <adam.wujek@cern.ch>
parent 0e58900c
......@@ -181,8 +181,11 @@ int wr_servo_init(struct pp_instance *ppi)
wrs_shm_write(ppsi_head, WRS_SHM_WRITE_BEGIN);
/* Determine the alpha coefficient */
if (wrp->ops->read_calib_data(ppi, 0, 0,
&s->fiber_fix_alpha, &s->clock_period_ps) != WR_HW_CALIB_OK)
&s->fiber_fix_alpha, &s->clock_period_ps) != WR_HW_CALIB_OK) {
wrs_shm_write(ppsi_head, WRS_SHM_WRITE_END);
return -1;
}
wrp->ops->enable_timing_output(ppi, 0);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment