From a9fcaba92dcad3a337d7a77f1fbf1530454f27ef Mon Sep 17 00:00:00 2001 From: Ian Abbott Date: Thu, 29 Nov 2007 15:49:31 +0000 Subject: [PATCH] For AO command test step 3, return 3 if external trigger flags have been corrected. --- comedi/drivers/amplc_pci224.c | 2 ++ 1 file changed, 2 insertions(+) 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; } -- 2.26.2