Commit 5f02fb80 authored by Andrey Filippov's avatar Andrey Filippov

fixing triggered mode

parent 36289ff4
This diff is collapsed.
......@@ -453,8 +453,8 @@ static int fpga_jtag_release(struct inode *inode, struct file *filp) {
minors[p]=0;
JTAG_channels[chn].mode=JTAG_MODE_CLOSED;
//D(printk("fpga_jtag_release: done\r\n"));
dev_dbg(NULL, "fpga_jtag_release: done\r\n");
dev_info(NULL, "fpga_jtag_release: done, res= %d\n",res);
dev_dbg(NULL, "fpga_jtag_release: done, res= %d\n",res);
// dev_info(NULL, "fpga_jtag_release: done, res= %d\n",res);
return (res<0)?res:0;
}
......
......@@ -1433,7 +1433,8 @@ int pgm_triggermode(int sensor_port, ///< sensor port number (0..3
camsync_mode.en = 1;
camsync_mode.en_set = 1;
//When does it need to be disabled?
camsync_mode.ts_chns = (thispars->pars[P_EXTERN_TIMESTAMP]?1:0) << sensor_port;
// camsync_mode.ts_chns = (thispars->pars[P_EXTERN_TIMESTAMP]?1:0) << sensor_port;
camsync_mode.ts_chns = 1 << sensor_port;
camsync_mode.ts_chns_set = 1 << sensor_port;
}
camsync_mode.trig_set = 1;
......
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