Commit 232ae159 authored by Federico Vaga's avatar Federico Vaga

lib: export reference global id

Signed-off-by: Federico Vaga's avatarFederico Vaga <federico.vaga@cern.ch>
parent 28b21e65
......@@ -408,6 +408,7 @@ int fmctdc_read(struct fmctdc_board *userb, int channel, struct fmctdc_time *t,
t->frac = ctrl.tstamp.bins;
t->seq_id = ctrl.seq_num;
t->gseq_id = attrs[FT_ATTR_DEV_SEQUENCE];
t->ref_gseq_id = attrs[FT_ATTR_TDC_DELAY_REF_SEQ];
i++;
continue;
}
......
......@@ -40,6 +40,7 @@ struct fmctdc_time {
uint32_t frac; /**< number of frac of 81.03ps */
uint32_t seq_id; /**< channel sequence number*/
uint32_t gseq_id; /**< board sequence number */
uint32_t ref_gseq_id; /**< board sequence number of the reference */
};
......
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