remove debugging bug
authorDavid Schleef <ds@schleef.org>
Thu, 13 Jul 2000 17:02:39 +0000 (17:02 +0000)
committerDavid Schleef <ds@schleef.org>
Thu, 13 Jul 2000 17:02:39 +0000 (17:02 +0000)
comedi/drivers/ni_mio_common.c

index 9a3b4010c4a9813d7798488481c2abcb571732df..b457f47a1d5014cba017e2d36d5d954cfa015fb7 100644 (file)
@@ -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 */