From: David Schleef Date: Sat, 9 Sep 2000 21:50:09 +0000 (+0000) Subject: ao insn emulation bug X-Git-Tag: r0_7_49~14 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=095d852715980ff7507e35e8ffcbb989c3e03bb5;p=comedi.git ao insn emulation bug --- diff --git a/comedi/drivers.c b/comedi/drivers.c index c1e499e5..8a68fa88 100644 --- a/comedi/drivers.c +++ b/comedi/drivers.c @@ -328,6 +328,7 @@ static int insn_emulate(comedi_device *dev,comedi_subdevice *s,comedi_insn *insn trig.data=&sdata; for(i=0;in;i++){ + data=data[i]; ret=s->trig[0](dev,s,&trig); if(ret<0)return ret; data[i]=sdata;