From fbbc317ac213e0655d4adaaddcd4aecabaaeed88 Mon Sep 17 00:00:00 2001 From: David Schleef Date: Tue, 3 Apr 2001 09:24:22 +0000 Subject: [PATCH] Fixed insn_write bug. --- comedi/kcomedilib/kcomedilib_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.26.2