From 3bcf0041e24e35a360f7a09c469442ee080795f0 Mon Sep 17 00:00:00 2001 From: Frank Mori Hess Date: Sun, 13 May 2001 18:19:19 +0000 Subject: [PATCH] fixed bug due to typo --- comedi/drivers/poc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/comedi/drivers/poc.c b/comedi/drivers/poc.c index c80dacb0..657d4890 100644 --- a/comedi/drivers/poc.c +++ b/comedi/drivers/poc.c @@ -143,7 +143,7 @@ static int poc_attach(comedi_device *dev, comedi_devconfig *it) s->maxdata = (1<n_bits)-1; s->range_table = &range_dac02; // XXX s->insn_write = this_board->winsn; - s->insn_write = this_board->rinsn; + s->insn_read = this_board->rinsn; if(s->type==COMEDI_SUBD_AO || s->type==COMEDI_SUBD_DO){ s->subdev_flags = SDF_WRITEABLE; } -- 2.26.2