fix for external start source
authorFrank Mori Hess <fmhess@speakeasy.net>
Mon, 18 Nov 2002 17:14:48 +0000 (17:14 +0000)
committerFrank Mori Hess <fmhess@speakeasy.net>
Mon, 18 Nov 2002 17:14:48 +0000 (17:14 +0000)
comedi/drivers/ni_labpc.c

index 5c210b73db573970d82622df2b5141e5ced1ec0f..75cad1a65f1f07067880b7ff1de8156e844e6fa2 100644 (file)
@@ -1252,7 +1252,7 @@ static int labpc_ai_cmd(comedi_device *dev, comedi_subdevice *s)
        {
                case TRIG_EXT:
                        devpriv->command2_bits |= HWTRIG_BIT;
-                       devpriv->command2_bits &= ~PRETRIG_BIT & SWTRIG_BIT;
+                       devpriv->command2_bits &= ~PRETRIG_BIT & ~SWTRIG_BIT;
                        break;
                case TRIG_NOW:
                        devpriv->command2_bits |= SWTRIG_BIT;