projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
010afa1
)
For AO command test step 3, return 3 if external trigger flags have been
author
Ian Abbott
<abbotti@mev.co.uk>
Thu, 29 Nov 2007 15:49:31 +0000
(15:49 +0000)
committer
Ian Abbott
<abbotti@mev.co.uk>
Thu, 29 Nov 2007 15:49:31 +0000
(15:49 +0000)
corrected.
comedi/drivers/amplc_pci224.c
patch
|
blob
|
history
diff --git
a/comedi/drivers/amplc_pci224.c
b/comedi/drivers/amplc_pci224.c
index 7468f18a78acf59d3794e39d771a98128f26a5e8..3cd8193f5423b36879e8fa838b57cd6bd9d17754 100644
(file)
--- 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;
}