From: Frank Mori Hess Date: Wed, 19 Feb 2003 04:20:10 +0000 (+0000) Subject: set insn_config to insn_inval if it is NULL X-Git-Tag: r0_7_67x~92 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=765cd5b03c58842351c041eb06358f5dbc4b0692;p=comedi.git set insn_config to insn_inval if it is NULL --- diff --git a/comedi/drivers.c b/comedi/drivers.c index 276f5c2f..32e854f5 100644 --- a/comedi/drivers.c +++ b/comedi/drivers.c @@ -273,6 +273,7 @@ static int postconfig(comedi_device *dev) if(!s->insn_read)s->insn_read = insn_inval; if(!s->insn_write)s->insn_write = insn_inval; if(!s->insn_bits)s->insn_bits = insn_inval; + if(!s->insn_config)s->insn_config = insn_inval; if(!s->poll)s->poll=poll_invalid; }