projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7474d26
)
das08: Fix wrong AI encoding for das08jr-16-ao.
author
Ian Abbott
<abbotti@mev.co.uk>
Fri, 31 Aug 2012 13:28:39 +0000
(14:28 +0100)
committer
Ian Abbott
<abbotti@mev.co.uk>
Fri, 31 Aug 2012 13:28:39 +0000
(14:28 +0100)
For das08jr-16-ao, the ai_encoding member of the board structure should
be set to das08_encoding16, not das08_encoding12.
Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
comedi/drivers/das08.c
patch
|
blob
|
history
diff --git
a/comedi/drivers/das08.c
b/comedi/drivers/das08.c
index 9d9e7bbb313b3b97d3170c6016bcb92addcb0fc4..2a8cc0aff852d29845719948a2528959fbb5f89b 100644
(file)
--- a/
comedi/drivers/das08.c
+++ b/
comedi/drivers/das08.c
@@
-378,7
+378,7
@@
static const struct das08_board_struct das08_boards[] = {
ai: das08_ai_rinsn,
ai_nbits:16,
ai_pg: das08_pg_none,
- ai_encoding:das08_encode1
2
,
+ ai_encoding:das08_encode1
6
,
ao: das08jr_ao_winsn,
ao_nbits:16,
di: das08jr_di_rbits,