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

lib: removed gseq_id, pass MSBs of the frac field as a debugging info

parent 0528ca9a
......@@ -611,7 +611,8 @@ static void fmctdc_ts_convert(struct fmctdc_time *t, struct ft_hw_timestamp *o)
{
t->seconds = o->seconds;
t->coarse = o->coarse;
t->frac = o->frac;
t->frac = o->frac & 0xfff;
t->debug = o->frac >> 12;
t->seq_id = FT_HW_TS_META_SEQ(o->metadata);
}
......
......@@ -87,8 +87,7 @@ struct fmctdc_time {
to (0..4095) range - i.e. 0 = 0 ns, and
4095 = 7.999 ns. */
uint32_t seq_id; /**< channel sequence number*/
uint32_t ref_gseq_id; /**< board sequence number of the reference
channel time-stamp */
uint32_t debug; /**< debug stuff, driver/firmware-specific */
};
......
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