projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e9e8f5
)
Corrected number of channels for DO subdevice.
author
Ian Abbott
<abbotti@mev.co.uk>
Wed, 16 Jan 2008 17:03:48 +0000
(17:03 +0000)
committer
Ian Abbott
<abbotti@mev.co.uk>
Wed, 16 Jan 2008 17:03:48 +0000
(17:03 +0000)
comedi/drivers/ni_65xx.c
patch
|
blob
|
history
diff --git
a/comedi/drivers/ni_65xx.c
b/comedi/drivers/ni_65xx.c
index 227c323b71d0af2b95c95a6ff4766fa4e165e369..433538274c373fb80143f8457c894bec79830162 100644
(file)
--- a/
comedi/drivers/ni_65xx.c
+++ b/
comedi/drivers/ni_65xx.c
@@
-671,7
+671,7
@@
static int ni_65xx_attach(comedi_device * dev, comedi_devconfig * it)
s->type = COMEDI_SUBD_DO;
s->subdev_flags = SDF_READABLE | SDF_WRITABLE;
s->n_chan =
- board(dev)->num_d
i
_ports * ni_65xx_channels_per_port;
+ board(dev)->num_d
o
_ports * ni_65xx_channels_per_port;
s->range_table = &range_digital;
s->maxdata = 1;
s->insn_bits = ni_65xx_dio_insn_bits;