Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
F
FMC TDC 1ns 5cha - Software
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
FMC TDC 1ns 5cha - Software
Commits
e633a18d
Commit
e633a18d
authored
Oct 02, 2012
by
Miguel Gómez Sexto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix compilation warning
Signed-off-by:
Miguel Gomez
<
magomez@igalia.com
>
parent
5a287e79
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
libtdc.c
lib/libtdc.c
+3
-3
No files found.
lib/libtdc.c
View file @
e633a18d
...
...
@@ -299,15 +299,15 @@ static int __tdc_valid_channel(struct tdc_board *b, int chan)
if
(
!
(
b
->
chan_config
&
TDC_INPUT_ENABLE_FLAG
)
)
{
fprintf
(
stderr
,
"%s: All channels disabled
\n
"
,
__func__
,
chan
);
errno
=
EINVAL
;
__func__
);
errno
=
EINVAL
;
return
0
;
}
if
(
!
(
b
->
chan_config
&
(
1
<<
chan
))
)
{
fprintf
(
stderr
,
"%s: Channel not enabled: %i
\n
"
,
__func__
,
chan
);
errno
=
EINVAL
;
errno
=
EINVAL
;
return
0
;
}
...
...
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