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
5650fac0
Commit
5650fac0
authored
Jan 13, 2018
by
Oleg Dzhimiev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
+comments for waiting
parent
8b081d6b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
x393_videomem.c
src/drivers/elphel/x393_videomem.c
+6
-0
No files found.
src/drivers/elphel/x393_videomem.c
View file @
5650fac0
...
@@ -747,6 +747,12 @@ int membridge_start(int sensor_port, unsigned long target_frame){
...
@@ -747,6 +747,12 @@ int membridge_start(int sensor_port, unsigned long target_frame){
}
}
spin_unlock
(
&
membridge_lock
);
spin_unlock
(
&
membridge_lock
);
/** TODO: wait for the next frame then read past parameter
* if target_frame from sysfs < current frame then wait for current+1
* if target_frame from sysfs > current frame then wait for target_frame+1
*/
//get_imageParamsPast(sensor_port,P_ACTUAL_WIDTH,frame_num);
width_marg
=
get_imageParamsThis
(
sensor_port
,
P_ACTUAL_WIDTH
);
width_marg
=
get_imageParamsThis
(
sensor_port
,
P_ACTUAL_WIDTH
);
height_marg
=
get_imageParamsThis
(
sensor_port
,
P_ACTUAL_HEIGHT
);
height_marg
=
get_imageParamsThis
(
sensor_port
,
P_ACTUAL_HEIGHT
);
...
...
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