projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
25b1ad9
)
make sure dithering is off during ai commands
author
Frank Mori Hess
<fmhess@speakeasy.net>
Tue, 19 Nov 2002 19:44:51 +0000
(19:44 +0000)
committer
Frank Mori Hess
<fmhess@speakeasy.net>
Tue, 19 Nov 2002 19:44:51 +0000
(19:44 +0000)
comedi/drivers/cb_pcidas64.c
patch
|
blob
|
history
diff --git
a/comedi/drivers/cb_pcidas64.c
b/comedi/drivers/cb_pcidas64.c
index b83f5da04f58cb551ec73909bd74722b99ce62d0..3cad80beffecd745492f191f80b8d66fecabbe67 100644
(file)
--- 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;