fix stupid typo. (from someone, don't remember whom)
authorDavid Schleef <ds@schleef.org>
Wed, 25 Sep 2002 01:31:37 +0000 (01:31 +0000)
committerDavid Schleef <ds@schleef.org>
Wed, 25 Sep 2002 01:31:37 +0000 (01:31 +0000)
comedi/drivers/dt2814.c

index 17cde7f9de43c65e17a8f83d794d0b8530445a16..36aa270b297cac820eaa7069a47c342eeba69ac3 100644 (file)
@@ -119,7 +119,7 @@ udelay(10);
                hi=inb(dev->iobase+DT2814_DATA);
                lo=inb(dev->iobase+DT2814_DATA);
 
-               data[i]=(hi<<4)|(lo>>4);
+               data[n]=(hi<<4)|(lo>>4);
        }
        
        return n;