From: Ian Abbott Date: Fri, 31 Aug 2012 13:28:39 +0000 (+0100) Subject: das08: Fix wrong AI encoding for das08jr-16-ao. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f1a00b2e15b71078a6202cc4d9cdcd11c798ec38;p=comedi.git das08: Fix wrong AI encoding for das08jr-16-ao. 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 --- diff --git a/comedi/drivers/das08.c b/comedi/drivers/das08.c index 9d9e7bbb..2a8cc0af 100644 --- 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_encode12, + ai_encoding:das08_encode16, ao: das08jr_ao_winsn, ao_nbits:16, di: das08jr_di_rbits,