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
Mattias Fält
moberg
Commits
e5e86625
Commit
e5e86625
authored
Mar 29, 2019
by
Anders Blomdell
Browse files
Fix comedi route setup
parent
740e9557
Changes
1
Hide whitespace changes
Inline
Side-by-side
plugins/comedi/comedi.c
View file @
e5e86625
...
@@ -357,7 +357,7 @@ static struct moberg_status channel_open(struct moberg_channel *channel)
...
@@ -357,7 +357,7 @@ static struct moberg_status channel_open(struct moberg_channel *channel)
insn
.
n
=
sizeof
(
data
)
/
sizeof
(
data
[
0
]);
insn
.
n
=
sizeof
(
data
)
/
sizeof
(
data
[
0
]);
data
[
0
]
=
INSN_CONFIG_SET_ROUTING
;
data
[
0
]
=
INSN_CONFIG_SET_ROUTING
;
data
[
1
]
=
channel
->
context
->
descriptor
.
route
;
data
[
1
]
=
channel
->
context
->
descriptor
.
route
;
if
(
comedi_do_insn
(
channel
->
context
->
device
->
comedi
.
handle
,
&
insn
))
{
if
(
0
>
comedi_do_insn
(
channel
->
context
->
device
->
comedi
.
handle
,
&
insn
))
{
goto
err_errno
;
goto
err_errno
;
}
}
}
}
...
...
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