removed testing code
authorDavid Schleef <ds@schleef.org>
Thu, 30 Nov 2000 22:59:39 +0000 (22:59 +0000)
committerDavid Schleef <ds@schleef.org>
Thu, 30 Nov 2000 22:59:39 +0000 (22:59 +0000)
demo/mmap.c

index db67cc12e5f1b2c5b9ea53a42795adc35d4d24e8..55d6d67cda886eefbe4c764e8069f4667ad3cb3d 100644 (file)
@@ -137,11 +137,6 @@ void do_cmd(comedi_t *dev,comedi_cmd *cmd)
                }
        }
 
-       {char s[10]; gets(s); }
-       munmap(map,0x1000);
-       //close(comedi_fileno(dev));
-
-       {char s[10]; gets(s); }
        for(i=0;i<100;i++){
                printf("%d\n",map[i]);
        }