fixed bug due to typo
authorFrank Mori Hess <fmhess@speakeasy.net>
Sun, 13 May 2001 18:19:19 +0000 (18:19 +0000)
committerFrank Mori Hess <fmhess@speakeasy.net>
Sun, 13 May 2001 18:19:19 +0000 (18:19 +0000)
comedi/drivers/poc.c

index c80dacb0ddd2c6fb0677753559607e01853c5945..657d4890ec183871b37c75d13d14abea732e26a2 100644 (file)
@@ -143,7 +143,7 @@ static int poc_attach(comedi_device *dev, comedi_devconfig *it)
        s->maxdata = (1<<this_board->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;
        }