minor cleanups
authorDavid Schleef <ds@schleef.org>
Thu, 10 May 2001 10:18:09 +0000 (10:18 +0000)
committerDavid Schleef <ds@schleef.org>
Thu, 10 May 2001 10:18:09 +0000 (10:18 +0000)
comedi/drivers/ni_mio_common.c
comedi/drivers/ni_stc.h

index f4ec59951a311c8ad520e7f3c1e12f7807f1fda6..a0810334f5cd4d01b03d66945db21cf2250ec4ed 100644 (file)
@@ -2247,7 +2247,8 @@ int GPCT_Arm(comedi_device *dev, int chan){
 int GPCT_Set_Source(comedi_device *dev,int chan ,int source){
        //printk("GPCT_Set_Source...");
        devpriv->gpct_input_select[chan] &= ~G_Source_Select(0x1f);//reset gate to 0
-       switch(source) {\r       case GPCT_INT_CLOCK:
+       switch(source) {
+               case GPCT_INT_CLOCK:
                devpriv->gpct_input_select[chan] |= G_Source_Select(0);//INT_TIMEBASE
                break;
        case GPCT_EXT_PIN:
index a4450754d75a13875951ac54370e53fb0ac0c11a..4cdcac59a71c58686db603f9c575bd1bceaf5cc3 100644 (file)
 #define G1_Save_St                     _bit1
 #define G0_Save_St                     _bit0
 
-
-/* CLO */
 /* general purpose counter timer */
 #define G0_Reset                        _bit2
 #define G1_Reset                        _bit3