From: Frank Mori Hess Date: Tue, 19 Nov 2002 19:44:51 +0000 (+0000) Subject: make sure dithering is off during ai commands X-Git-Tag: r0_7_66~37 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6b735addad1604d681d0cad428cd38cbd86378a8;p=comedi.git make sure dithering is off during ai commands --- diff --git a/comedi/drivers/cb_pcidas64.c b/comedi/drivers/cb_pcidas64.c index b83f5da0..3cad80be 100644 --- a/comedi/drivers/cb_pcidas64.c +++ b/comedi/drivers/cb_pcidas64.c @@ -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;