analog output waveform operations shouldn't be enabled in insn
authorFrank Mori Hess <fmhess@speakeasy.net>
Mon, 22 Apr 2002 00:12:50 +0000 (00:12 +0000)
committerFrank Mori Hess <fmhess@speakeasy.net>
Mon, 22 Apr 2002 00:12:50 +0000 (00:12 +0000)
comedi/drivers/cb_pcidas64.c

index 8feb28f30a6d5e002c6975648b8a36157ba5a8e3..c7a2b0dc145df6d4b34f65ad8314863adf16fd76 100644 (file)
@@ -2006,7 +2006,7 @@ static int ao_winsn(comedi_device *dev, comedi_subdevice *s,
        unsigned int bits;
 
        // do some initializing
-       writew(DAC_ENABLE_BIT, private(dev)->main_iobase + DAC_CONTROL0_REG);
+       writew(0, private(dev)->main_iobase + DAC_CONTROL0_REG);
 
        // set range
        bits = DAC_OUTPUT_ENABLE_BIT;