projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0be11ee
)
check length of INSN_CONFIG_ANALOG_TRIG
author
Frank Mori Hess
<fmhess@speakeasy.net>
Fri, 27 Oct 2006 17:18:51 +0000
(17:18 +0000)
committer
Frank Mori Hess
<fmhess@speakeasy.net>
Fri, 27 Oct 2006 17:18:51 +0000
(17:18 +0000)
comedi/comedi_fops.c
patch
|
blob
|
history
diff --git
a/comedi/comedi_fops.c
b/comedi/comedi_fops.c
index 28d2506dcda7d2bfa8c89374f6984d8fc59b7dda..07cc56e9f97b68e2a060778b6ba5da3118541e44 100644
(file)
--- a/
comedi/comedi_fops.c
+++ b/
comedi/comedi_fops.c
@@
-649,6
+649,7
@@
static int check_insn_config_length(comedi_insn *insn, lsampl_t *data)
if(insn->n == 3) return 0;
break;
case INSN_CONFIG_PWM_OUTPUT:
+ case INSN_CONFIG_ANALOG_TRIG:
if(insn->n == 5) return 0;
break;
//by default we allow the insn since we don't have checks for all possible cases yet