From: Frank Mori Hess Date: Tue, 16 Apr 2002 20:51:56 +0000 (+0000) Subject: replaced call to comedi_get_front_count() with call to identical comedi_get_buffer_of... X-Git-Tag: r0_7_19~65 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=2a637ef62c4355e1124c60f3cc4722e7f1606f32;p=comedilib.git replaced call to comedi_get_front_count() with call to identical comedi_get_buffer_offset() since that is the function that is actually declared in comedilib.h --- diff --git a/demo/mmap.c b/demo/mmap.c index 2f18cf4..90b8d31 100644 --- a/demo/mmap.c +++ b/demo/mmap.c @@ -24,8 +24,6 @@ #include #include "examples.h" -int comedi_get_front_count(comedi_t *it, unsigned int subdev); - unsigned int chanlist[256]; void *map; @@ -83,7 +81,7 @@ int main(int argc, char *argv[]) back = 0; while(1){ - front = comedi_get_front_count(dev,subdevice); + front = comedi_get_buffer_offset(dev,subdevice); if(verbose)fprintf(stderr,"front = %d, back = %d\n",front,back); if(front