make sure dithering is off during ai commands
authorFrank Mori Hess <fmhess@speakeasy.net>
Tue, 19 Nov 2002 19:44:51 +0000 (19:44 +0000)
committerFrank Mori Hess <fmhess@speakeasy.net>
Tue, 19 Nov 2002 19:44:51 +0000 (19:44 +0000)
comedi/drivers/cb_pcidas64.c

index b83f5da04f58cb551ec73909bd74722b99ce62d0..3cad80beffecd745492f191f80b8d66fecabbe67 100644 (file)
@@ -2123,6 +2123,7 @@ static int ai_cmd(comedi_device *dev,comedi_subdevice *s)
        comedi_spin_lock_irqsave( &dev->spinlock, flags );
        /* set mode, allow conversions through software gate */
        priv(dev)->adc_control1_bits |= SW_GATE_BIT;
+       priv(dev)->adc_control1_bits &= ~ADC_DITHER_BIT;
        if(board(dev)->layout != LAYOUT_4020)
        {
                priv(dev)->adc_control1_bits &= ~ADC_MODE_MASK;