From: David Schleef Date: Thu, 13 Jul 2000 17:02:39 +0000 (+0000) Subject: remove debugging bug X-Git-Tag: r0_7_46~3 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ccc061855dddc9e685f88a3fcc70194c857cc7aa;p=comedi.git remove debugging bug --- diff --git a/comedi/drivers/ni_mio_common.c b/comedi/drivers/ni_mio_common.c index 9a3b4010..b457f47a 100644 --- a/comedi/drivers/ni_mio_common.c +++ b/comedi/drivers/ni_mio_common.c @@ -608,7 +608,7 @@ static void ni_load_channelgain_list(comedi_device *dev,unsigned int n_chan,unsi ni_writew(lo,Configuration_Memory_Low); } - /* prime the channel/gain list */ + prime the channel/gain list */ win_out(1,AI_Command_1_Register); for(i=0;i<40;i++){ @@ -1014,7 +1014,6 @@ static int ni_ai_mode2(comedi_device *dev,comedi_subdevice *s,comedi_trig *it) }else{ devpriv->aimode=AIMODE_HALF_FULL; } -devpriv->aimode=AIMODE_SAMPLE; switch(devpriv->aimode){ case AIMODE_HALF_FULL: /*generate FIFO interrupts on half-full */