From 809b0ded8f50683ae5f39f9e04fb5a12368e2c53 Mon Sep 17 00:00:00 2001 From: David Schleef Date: Thu, 10 May 2001 10:18:09 +0000 Subject: [PATCH] minor cleanups --- comedi/drivers/ni_mio_common.c | 3 ++- comedi/drivers/ni_stc.h | 2 -- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/comedi/drivers/ni_mio_common.c b/comedi/drivers/ni_mio_common.c index f4ec5995..a0810334 100644 --- a/comedi/drivers/ni_mio_common.c +++ b/comedi/drivers/ni_mio_common.c @@ -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) { 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: diff --git a/comedi/drivers/ni_stc.h b/comedi/drivers/ni_stc.h index a4450754..4cdcac59 100644 --- a/comedi/drivers/ni_stc.h +++ b/comedi/drivers/ni_stc.h @@ -479,8 +479,6 @@ #define G1_Save_St _bit1 #define G0_Save_St _bit0 - -/* CLO */ /* general purpose counter timer */ #define G0_Reset _bit2 #define G1_Reset _bit3 -- 2.26.2