projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
23fc148
)
made digital output readable
author
Frank Mori Hess
<fmhess@speakeasy.net>
Sun, 8 Jul 2001 22:41:22 +0000
(22:41 +0000)
committer
Frank Mori Hess
<fmhess@speakeasy.net>
Sun, 8 Jul 2001 22:41:22 +0000
(22:41 +0000)
comedi/drivers/das16m1.c
patch
|
blob
|
history
diff --git
a/comedi/drivers/das16m1.c
b/comedi/drivers/das16m1.c
index 36871fe8fd0f47581ea76886e0e4c787737bb98f..6c376916a854f6064a6ba590d0bb114578e055de 100644
(file)
--- a/
comedi/drivers/das16m1.c
+++ b/
comedi/drivers/das16m1.c
@@
-246,7
+246,7
@@
static int das16m1_cmd_test(comedi_device *dev,comedi_subdevice *s, comedi_cmd *
err++;
}
}
- // check chanlist agains board's peculiarities
+ // check chanlist agains
t
board's peculiarities
if(cmd->chanlist_len > 1)
{
for(i = 0; i < cmd->chanlist_len; i++)
@@
-607,7
+607,7
@@
static int das16m1_attach(comedi_device *dev, comedi_devconfig *it)
s = dev->subdevices + 2;
/* do */
s->type = COMEDI_SUBD_DO;
- s->subdev_flags = SDF_WRITEABLE;
+ s->subdev_flags = SDF_WRITEABLE
| SDF_READABLE
;
s->n_chan = 4;
s->maxdata = 1;
s->range_table = &range_digital;