projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d1d1b8e
)
amplc_dio200: fix subdevice type for 'timer' subdevice
author
Ian Abbott
<abbotti@mev.co.uk>
Thu, 4 Oct 2012 14:16:37 +0000
(15:16 +0100)
committer
Ian Abbott
<abbotti@mev.co.uk>
Thu, 4 Oct 2012 14:16:37 +0000
(15:16 +0100)
The 'timer' subdevice on the PCIe boards should be of type
COMEDI_SUBD_TIMER, not COMEDI_SUBD_COUNTER. Fix it.
Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
comedi/drivers/amplc_dio200.c
patch
|
blob
|
history
diff --git
a/comedi/drivers/amplc_dio200.c
b/comedi/drivers/amplc_dio200.c
index 65250cb08c6146b8c9d8479fdaa56fee0cfbca1b..ccf301c7fd14c39ad3eb648d97445d162bd2ebce 100644
(file)
--- a/
comedi/drivers/amplc_dio200.c
+++ b/
comedi/drivers/amplc_dio200.c
@@
-1837,7
+1837,7
@@
dio200_subdev_timer_config(comedi_device * dev, comedi_subdevice * s,
static int
dio200_subdev_timer_init(comedi_device * dev, comedi_subdevice * s)
{
- s->type = COMEDI_SUBD_
COUNT
ER;
+ s->type = COMEDI_SUBD_
TIM
ER;
s->subdev_flags = SDF_READABLE | SDF_LSAMPL;
s->n_chan = 1;
s->maxdata = 0xFFFFFFFF;