From: David Schleef Date: Mon, 30 Sep 2002 23:20:59 +0000 (+0000) Subject: one-liner to fix analog triggering X-Git-Tag: r0_7_66~84 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=caa6bf717101776eb7c2ec463fe3554dee003beb;p=comedi.git one-liner to fix analog triggering --- diff --git a/comedi/drivers/ni_mio_common.c b/comedi/drivers/ni_mio_common.c index 228775f3..664470d9 100644 --- a/comedi/drivers/ni_mio_common.c +++ b/comedi/drivers/ni_mio_common.c @@ -1583,7 +1583,7 @@ static int ni_ai_config_analog_trig(comedi_device *dev,comedi_subdevice *s, a=data[3]; b=data[4]; - modebits=data[1]=0xff; + modebits=data[1]&0xff; if(modebits&0xf0){ /* two level mode */ if(b