Fixed ai range codes for 622x boards.
authorFrank Mori Hess <fmhess@speakeasy.net>
Mon, 2 Jan 2006 01:11:30 +0000 (01:11 +0000)
committerFrank Mori Hess <fmhess@speakeasy.net>
Mon, 2 Jan 2006 01:11:30 +0000 (01:11 +0000)
comedi/drivers/ni_mio_common.c

index 960493d33cd80203bf1ce9c5cb0dd4e67d715b8f..f8d0fe247468b36a0f913ea3855c3234a732f7c3 100644 (file)
@@ -85,8 +85,8 @@ static short ni_gainlkup[][16]={
        { 0, 1, 4, 7 },
        /* ai_gain_611x */
        { 0x00a, 0x00b, 0x001, 0x002, 0x003, 0x004, 0x005, 0x006 },
-       /* ai_gain_622x FIXME: guesses */
-       { 1, 2, 3, 4},
+       /* ai_gain_622x */
+       { 0, 1, 4, 5},
        /* ai_gain_628x */
        { 1, 2, 3, 4, 5, 6, 7}
 };