From f1a00b2e15b71078a6202cc4d9cdcd11c798ec38 Mon Sep 17 00:00:00 2001 From: Ian Abbott Date: Fri, 31 Aug 2012 14:28:39 +0100 Subject: [PATCH] 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 --- comedi/drivers/das08.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- 2.26.2