From: Frank Mori Hess Date: Sun, 13 May 2001 18:19:19 +0000 (+0000) Subject: fixed bug due to typo X-Git-Tag: r0_7_59~44 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=3bcf0041e24e35a360f7a09c469442ee080795f0;p=comedi.git fixed bug due to typo --- 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; }