Commit graph

15 commits

Author SHA1 Message Date
Frank Mori Hess
c1082cee65 Fixed comedi_get_cmd_generic_timed() by adding a chanlist_len
parameter.  Old version is still available in library, thanks to the
magic of the version_script.
2007-08-02 19:46:44 +00:00
Frank Mori Hess
fbdf65b4f5 Made parse_options() write options to a struct instead of passing
them through global variables.
2007-01-03 21:14:53 +00:00
Frank Mori Hess
9d4aa91837 include string.h for memset() 2003-01-01 23:08:07 +00:00
Frank Mori Hess
ea64ba8daa fixing includes for exit(), memset() for gcc 2.96 compiler warnings 2003-01-01 23:07:02 +00:00
Frank Mori Hess
28cbcb99d8 added error check for mmap() call 2002-11-26 20:06:22 +00:00
Frank Mori Hess
8ab0f19e34 changed & to %, before it seemed to assume the buffer size was a power of
2
2002-11-20 00:43:19 +00:00
David Schleef
cd6660ec58 Fix mistake getting buffer head position 2002-08-06 19:39:31 +00:00
Frank Mori Hess
2a637ef62c 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
2002-04-16 20:51:56 +00:00
David Schleef
7973a0f2ad Change prototype of comedi_get_cmd_generic_timed 2001-07-15 22:39:54 +00:00
David Schleef
98ead7a4f9 Major hacking, just like cmd.c 2001-07-15 19:57:32 +00:00
David Schleef
31b3e7ed7f Changed the name of verbose_flag; Added a few more flags in main.c 2001-07-14 00:50:52 +00:00
Frank Mori Hess
7263bf6d2c explicitly initialized value, subdevice, channel, aref and range in main.c 2001-05-14 00:04:08 +00:00
David Schleef
01a017f515 5 new demos
cmd uses main.c
removal of direct ioctl calls
2001-03-01 21:57:00 +00:00
David Schleef
49bfad27af removed testing code 2000-11-30 22:59:39 +00:00
David Schleef
7cde371fd4 mmap demo and testing 2000-11-25 04:19:59 +00:00