From: Ian Abbott Date: Thu, 29 Nov 2007 15:49:31 +0000 (+0000) Subject: For AO command test step 3, return 3 if external trigger flags have been X-Git-Tag: v0_7_76~41 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a9fcaba92dcad3a337d7a77f1fbf1530454f27ef;p=comedi.git For AO command test step 3, return 3 if external trigger flags have been corrected. --- diff --git a/comedi/drivers/amplc_pci224.c b/comedi/drivers/amplc_pci224.c index 7468f18a..3cd8193f 100644 --- a/comedi/drivers/amplc_pci224.c +++ b/comedi/drivers/amplc_pci224.c @@ -834,6 +834,7 @@ pci224_ao_cmdtest(comedi_device * dev, comedi_subdevice * s, comedi_cmd * cmd) if ((cmd->start_arg & CR_FLAGS_MASK & ~CR_EDGE) != 0) { cmd->start_arg = COMBINE(cmd->start_arg, 0, CR_FLAGS_MASK & ~CR_EDGE); + err++; } break; } @@ -865,6 +866,7 @@ pci224_ao_cmdtest(comedi_device * dev, comedi_subdevice * s, comedi_cmd * cmd) ~(CR_EDGE | CR_INVERT)) != 0) { cmd->scan_begin_arg = COMBINE(cmd->scan_begin_arg, 0, CR_FLAGS_MASK & ~(CR_EDGE | CR_INVERT)); + err++; } break; }