Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
elphel-apps-camogm
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Elphel
elphel-apps-camogm
Commits
25b188fc
Commit
25b188fc
authored
Jul 19, 2016
by
Mikhail Karpenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove debug code
parent
c3464960
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
12 deletions
+0
-12
camogm.c
camogm.c
+0
-3
camogm_jpeg.c
camogm_jpeg.c
+0
-9
No files found.
camogm.c
View file @
25b188fc
...
...
@@ -814,9 +814,6 @@ void camogm_set_prefix(camogm_state *state, const char * p, path_type type)
}
else
{
D0
(
fprintf
(
debug_file
,
"WARNING: raw device write initiated
\n
"
));
state
->
rawdev_op
=
1
;
/* debug code follows */
state
->
rawdev
.
end_pos
=
(
uint64_t
)
128
*
(
uint64_t
)
1048576
;
/* end of debug code */
}
}
}
...
...
camogm_jpeg.c
View file @
25b188fc
...
...
@@ -161,15 +161,6 @@ int camogm_frame_jpeg(camogm_state *state)
}
}
/* debug code follows */
fprintf
(
debug_file
,
"
\n
=== raw device write, iovec dump ===
\n
"
);
fprintf
(
debug_file
,
"split_cntr = %ld; split_ptr = %p; split_index = %d
\n
"
,
split_cntr
,
split_ptr
,
split_index
);
for
(
int
i
=
0
;
i
<
chunks_used
;
i
++
)
{
fprintf
(
debug_file
,
"i = %d; iov_base = %p; iov_len = %u
\n
"
,
i
,
chunks_iovec
[
i
].
iov_base
,
chunks_iovec
[
i
].
iov_len
);
}
fprintf
(
debug_file
,
"total len = %d
\n
======
\n
"
,
l
);
/* end of debug code */
if
(
split_index
<
0
)
{
iovlen
=
writev
(
state
->
rawdev
.
rawdev_fd
,
chunks_iovec
,
chunks_used
);
}
else
{
...
...
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