projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca0db93
)
Patch from Dave <dfelson.celson@virgin.net>:
author
Frank Mori Hess
<fmhess@speakeasy.net>
Wed, 23 Nov 2005 22:51:42 +0000
(22:51 +0000)
committer
Frank Mori Hess
<fmhess@speakeasy.net>
Wed, 23 Nov 2005 22:51:42 +0000
(22:51 +0000)
Tried the NI 6602 in single pulse, surprised (!) the
case INSN_CONFIG_GPCT_SINGLE_PULSE_GENERATOR:
ran into the
case INSN_CONFIG_GPCT_PULSE_TRAIN_GENERATOR:
without a break.
comedi/drivers/ni_660x.c
patch
|
blob
|
history
diff --git
a/comedi/drivers/ni_660x.c
b/comedi/drivers/ni_660x.c
index de024226c47ec321b28e0c8072c483d4efc680de..fe79abfca2d7b3d1601cdc0eaaa6571338d5862e 100644
(file)
--- a/
comedi/drivers/ni_660x.c
+++ b/
comedi/drivers/ni_660x.c
@@
-1056,6
+1056,7
@@
ni_660x_GPCT_insn_config(comedi_device *dev, comedi_subdevice *s,
writel(pin_is_output(0), devpriv->mite->daq_io_addr
+ GPCT_OFFSET[chipset]
+ registerData[IOConfigReg(chipset, counter_channel)].offset);
+ break;
case INSN_CONFIG_GPCT_PULSE_TRAIN_GENERATOR:
DPRINTK("NI_660x: INSN_CONFIG: PTG linking inttrig\n");
s->async->inttrig = ni_660x_GPCT_inttrig;