das08: Fix wrong AI encoding for das08jr-16-ao.
authorIan Abbott <abbotti@mev.co.uk>
Fri, 31 Aug 2012 13:28:39 +0000 (14:28 +0100)
committerIan 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

index 9d9e7bbb313b3b97d3170c6016bcb92addcb0fc4..2a8cc0aff852d29845719948a2528959fbb5f89b 100644 (file)
@@ -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_encode12,
+             ai_encoding:das08_encode16,
              ao:       das08jr_ao_winsn,
              ao_nbits:16,
              di:       das08jr_di_rbits,