Commit aceac379 authored by Tomasz Wlostowski's avatar Tomasz Wlostowski Committed by Federico Vaga

kernel: apply WR timebase offset on readout

parent 2b60408c
......@@ -174,6 +174,8 @@ static inline void process_timestamp(struct fmctdc_dev *ft,
ft->calib.
zero_offset[channel - 1]);
ft_ts_apply_offset(&ts, -ft->calib.wr_offset);
if (st->user_offset)
ft_ts_apply_offset(&ts,
st->user_offset);
......
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