From: Frank Mori Hess Date: Thu, 28 Feb 2002 00:09:54 +0000 (+0000) Subject: added initialization of calibration register to make sure channel 0 is not reading X-Git-Tag: r0_7_64~97 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=783c25f448afba527a1ad814e1181c63a95ec464;p=comedi.git added initialization of calibration register to make sure channel 0 is not reading calibration source. --- diff --git a/comedi/drivers/cb_pcidas.c b/comedi/drivers/cb_pcidas.c index c3350e67..1b9ab4ac 100644 --- a/comedi/drivers/cb_pcidas.c +++ b/comedi/drivers/cb_pcidas.c @@ -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; }