Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-elphel
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
linux-elphel
Commits
5f02fb80
Commit
5f02fb80
authored
Sep 29, 2016
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixing triggered mode
parent
36289ff4
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
305 additions
and
3 deletions
+305
-3
elphel393_eyesis_bottom2.dts
src/arch/arm/boot/dts/elphel393_eyesis_bottom2.dts
+301
-0
fpgajtag353.c
src/drivers/elphel/fpgajtag353.c
+2
-2
pgm_functions.c
src/drivers/elphel/pgm_functions.c
+2
-1
No files found.
src/arch/arm/boot/dts/elphel393_eyesis_bottom2.dts
0 → 100644
View file @
5f02fb80
This diff is collapsed.
Click to expand it.
src/drivers/elphel/fpgajtag353.c
View file @
5f02fb80
...
...
@@ -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
;
}
...
...
src/drivers/elphel/pgm_functions.c
View file @
5f02fb80
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment