added initialization of calibration register to make sure channel 0 is not reading
authorFrank Mori Hess <fmhess@speakeasy.net>
Thu, 28 Feb 2002 00:09:54 +0000 (00:09 +0000)
committerFrank Mori Hess <fmhess@speakeasy.net>
Thu, 28 Feb 2002 00:09:54 +0000 (00:09 +0000)
calibration source.

comedi/drivers/cb_pcidas.c

index c3350e67cb0f99b381463a8c225f56982e2d2222..1b9ab4ac06ea535af9bbad4ffc0723f35091cb99 100644 (file)
@@ -643,6 +643,8 @@ found:
         * They don't actually get sent here, but in cmd code. */
        devpriv->s5933_intcsr_bits = INBOX_BYTE(3) | INBOX_SELECT(3) | INBOX_FULL_INT;
 
+       // make sure CALEN is disabled
+       outw(0, devpriv->control_status + CALIBRATION);
        return 1;
 }