From: David Schleef Date: Tue, 3 Apr 2001 09:24:22 +0000 (+0000) Subject: Fixed insn_write bug. X-Git-Tag: r0_7_58~22 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=fbbc317ac213e0655d4adaaddcd4aecabaaeed88;p=comedi.git Fixed insn_write bug. --- diff --git a/comedi/kcomedilib/kcomedilib_main.c b/comedi/kcomedilib/kcomedilib_main.c index 6fa22948..6fef36b3 100644 --- a/comedi/kcomedilib/kcomedilib_main.c +++ b/comedi/kcomedilib/kcomedilib_main.c @@ -673,7 +673,7 @@ int comedi_do_insn(unsigned int minor,comedi_insn *insn) ret = s->insn_read(dev,s,insn,insn->data); break; case INSN_WRITE: - ret = s->insn_read(dev,s,insn,insn->data); + ret = s->insn_write(dev,s,insn,insn->data); break; case INSN_BITS: ret = s->insn_bits(dev,s,insn,insn->data);