Patch from Dave <dfelson.celson@virgin.net>:
authorFrank Mori Hess <fmhess@speakeasy.net>
Wed, 23 Nov 2005 22:51:42 +0000 (22:51 +0000)
committerFrank 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

index de024226c47ec321b28e0c8072c483d4efc680de..fe79abfca2d7b3d1601cdc0eaaa6571338d5862e 100644 (file)
@@ -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;