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
73cd475f
Commit
73cd475f
authored
Apr 14, 2018
by
Oleg Dzhimiev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed unneeded check
parent
e82469d0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
8 deletions
+1
-8
pgm_functions.c
src/drivers/elphel/pgm_functions.c
+1
-8
No files found.
src/drivers/elphel/pgm_functions.c
View file @
73cd475f
...
...
@@ -2827,15 +2827,8 @@ int pgm_recalcseq (int sensor_port, ///< sensor port number (0..3
dev_dbg
(
g_dev_ptr
,
"{%d} frame16=%d, safe=%d, async=%d, nooverlap=%d
\n
"
,
sensor_port
,
frame16
,
safe
,
async
,
nooverlap
);
MDP
(
DBGB_PSFN
,
sensor_port
,
"frame16=%d
\n
"
,
frame16
)
// not null is guaranteed
port_ahead_tab
=
pSensorPortConfig
[
sensor_port
].
ahead_tab
[
ba
];
// init at an earlier stages and remove this check
if
(
!
port_ahead_tab
){
dev_warn
(
g_dev_ptr
,
"prm_recalcseq: port_ahead_tab is NULL
\n
"
);
return
0
;
}
//pr_info("pat pgm_exposure values: %d %d %d %d %d %d\n",pat[64],pat[65],pat[66],pat[67],pat[68],pat[69]);
//pr_info("ahd pgm_exposure values: %d %d %d %d %d %d\n",ahead_tab[64],ahead_tab[65],ahead_tab[66],ahead_tab[67],ahead_tab[68],ahead_tab[69]);
//for (i=0; i < (sizeof(port_ahead_tab)/sizeof(port_ahead_tab[0])); i+=7) {
for
(
i
=
0
;
i
<
AHEAD_TAB_FUNCS_COUNT
;
i
+=
7
)
{
...
...
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