From: Frank Mori Hess Date: Wed, 23 Nov 2005 22:51:42 +0000 (+0000) Subject: Patch from Dave : X-Git-Tag: r0_7_71~115 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=95ce7f739ea907206966a20e611a9595ec80d49c;p=comedi.git Patch from Dave : 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. --- diff --git a/comedi/drivers/ni_660x.c b/comedi/drivers/ni_660x.c index de024226..fe79abfc 100644 --- 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;