Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
F
FMC DIO 5ch TTL a
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
6
Issues
6
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 DIO 5ch TTL a
Commits
ca74caba
Commit
ca74caba
authored
Sep 04, 2019
by
Miguel Jimenez Lopez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix wr-dio-ruler tool.
parent
99232716
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
wr-dio-ruler.c
sw/tools/wr-dio-ruler.c
+3
-3
No files found.
sw/tools/wr-dio-ruler.c
View file @
ca74caba
...
...
@@ -244,8 +244,8 @@ static int ruler_wait_event(int inch, struct timespec *ts)
ruler_cmd
.
flags
=
WR_DIO_F_WAIT
;
ruler_cmd
.
channel
=
inch
;
if
(
ioctl
(
ruler_
sock
,
PRIV_MEZZANINE_CMD
,
(
unsigned
long
)
&
ruler_cmd
)
<
0
)
{
fprintf
(
stderr
,
"%s: ioctl(PRIV_MEZZANINE_CMD(%s)): "
if
(
ioctl
(
ruler_
fd_dio
,
PRIV_MEZZANINE_CMD
,
(
unsigned
long
)
&
ruler_cmd
)
<
0
)
{
fprintf
(
stderr
,
"%s:
A
ioctl(PRIV_MEZZANINE_CMD(%s)): "
"%s
\n
"
,
ruler_prgname
,
ruler_dio_name
,
strerror
(
errno
));
return
-
1
;
}
...
...
@@ -296,7 +296,7 @@ static int ruler_run_actions(int nact, struct timespec *ts,
}
/* local */
if
(
ioctl
(
ruler_
sock
,
PRIV_MEZZANINE_CMD
,
(
unsigned
long
)
&
f
.
cmd
)
<
0
)
{
if
(
ioctl
(
ruler_
fd_dio
,
PRIV_MEZZANINE_CMD
,
(
unsigned
long
)
&
f
.
cmd
)
<
0
)
{
fprintf
(
stderr
,
"%s: ioctl(PRIV_MEZZANINE_CMD(%s)): "
"%s
\n
"
,
ruler_prgname
,
ruler_dio_name
,
strerror
(
errno
));
...
...
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