From: Bernd Porr Date: Wed, 6 Dec 2006 23:57:23 +0000 (+0000) Subject: The flag SDF_CMD_READ was missing which gave the error number "-1" during async reads. X-Git-Tag: r0_7_74~141 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=28a844f6c5569cef3e6b2fb77bef13906d8d30f6;p=comedi.git The flag SDF_CMD_READ was missing which gave the error number "-1" during async reads. --- diff --git a/comedi/drivers/usbduxfast.c b/comedi/drivers/usbduxfast.c index f6965cd5..347ead59 100644 --- a/comedi/drivers/usbduxfast.c +++ b/comedi/drivers/usbduxfast.c @@ -1742,8 +1742,8 @@ static int usbduxfast_attach(comedi_device * dev, comedi_devconfig * it) // analog input s->type=COMEDI_SUBD_AI; // readable and ref is to ground - s->subdev_flags=SDF_READABLE|SDF_GROUND; - // 8 channels + s->subdev_flags=SDF_READABLE|SDF_GROUND|SDF_CMD_READ; + // 16 channels s->n_chan=16; // length of the channellist s->len_chanlist=16;