bug fix from Luis Martínez <luimarma@marcosa.e.telefonica.net>
authorFrank Mori Hess <fmhess@speakeasy.net>
Wed, 9 Jun 2004 00:19:38 +0000 (00:19 +0000)
committerFrank Mori Hess <fmhess@speakeasy.net>
Wed, 9 Jun 2004 00:19:38 +0000 (00:19 +0000)
comedi/drivers/quatech_daqp_cs.c

index 51be8cd5c075cec23601e8bdf14a6b2d23665929..65d45348e9db6b5fbeb854d1e86c9295a24e5394 100644 (file)
@@ -996,7 +996,7 @@ static int daqp_attach(comedi_device *dev, comedi_devconfig *it)
        s->subdev_flags=SDF_WRITEABLE;
        s->n_chan=1;
        s->len_chanlist=1;
-       s->insn_read=daqp_do_insn_write;
+       s->insn_write=daqp_do_insn_write;
 
        return 1;
 }