projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c3d3c3
)
The flag SDF_CMD_READ was missing which gave the error number "-1" during async reads.
author
Bernd Porr
<Bernd.Porr@f2s.com>
Wed, 6 Dec 2006 23:57:23 +0000
(23:57 +0000)
committer
Bernd Porr
<Bernd.Porr@f2s.com>
Wed, 6 Dec 2006 23:57:23 +0000
(23:57 +0000)
comedi/drivers/usbduxfast.c
patch
|
blob
|
history
diff --git
a/comedi/drivers/usbduxfast.c
b/comedi/drivers/usbduxfast.c
index f6965cd5d6d24456a0dfe933cf8c7bceb664cfea..347ead59536de09bf056e96e38c512063316fef2 100644
(file)
--- 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;