Commit 273847ea authored by Federico Vaga's avatar Federico Vaga

tools: fix tdc device open

Signed-off-by: Federico Vaga's avatarFederico Vaga <federico.vaga@cern.ch>
parent e4a1fea8
......@@ -142,7 +142,7 @@ int main(int argc, char **argv)
/* Open FMC TDC device */
brd = fmctdc_open(0, dev_id); /* look for dev_id form the beginning */
brd = fmctdc_open(-1, dev_id); /* look for dev_id form the beginning */
if (!brd) {
fprintf(stderr, "Can't open device 0x%x: %s\n", dev_id,
strerror(errno));
......
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