Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Erik Jansson
LabComm
Commits
755aa4dc
Commit
755aa4dc
authored
Apr 03, 2014
by
Tommy Olofsson
Browse files
Removed some prints.
parent
d48ff465
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/c/labcomm_decoder.c
View file @
755aa4dc
...
...
@@ -307,7 +307,7 @@ int labcomm_decoder_decode_one(struct labcomm_decoder *d)
remote_index
=
labcomm_read_packed32
(
d
->
reader
);
if
(
d
->
reader
->
error
<
0
)
{
result
=
d
->
reader
->
error
;
printf
(
"FAIL labcomm_read_packed32()
\n
"
);
/*
printf("FAIL labcomm_read_packed32()\n");
*/
goto
out
;
}
if
(
remote_index
==
LABCOMM_TYPEDEF
||
remote_index
==
LABCOMM_SAMPLE
)
{
...
...
@@ -345,10 +345,10 @@ int labcomm_decoder_decode_one(struct labcomm_decoder *d)
do_decode
(
d
->
reader
,
call_handler
,
&
wrap
);
if
(
d
->
reader
->
error
<
0
)
{
result
=
d
->
reader
->
error
;
printf
(
"FAIL: reader error
\n
"
);
/*
printf("FAIL: reader error\n");
*/
}
}
else
{
printf
(
"FAIL: enoent (ri: %d [%x])
\n
"
,
remote_index
,
remote_index
);
/*
printf("FAIL: enoent (ri: %d [%x])\n", remote_index, remote_index);
*/
result
=
-
ENOENT
;
}
}
...
...
Write
Preview
Supports
Markdown
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