Fix use of INSN_GTOD so it works on 64-bit platforms.
authorIan Abbott <abbotti@mev.co.uk>
Wed, 7 Nov 2007 13:01:50 +0000 (13:01 +0000)
committerIan Abbott <abbotti@mev.co.uk>
Wed, 7 Nov 2007 13:01:50 +0000 (13:01 +0000)
commit605fd5565556b75cae0769ae11d64b888549f2cc
tree657188a5f7e743ae242d70943532360f81fa93f2
parenta68c805998ebb4f3adbd92210c6db28090cd21a9
Fix use of INSN_GTOD so it works on 64-bit platforms.
A struct timeval is not the same size as a pair of lsampl_t's for 64-bit,
so can't point 'data' in a comedi_insn to a struct timeval and expect it
to work!
demo/insn.c
doc/reference.sgml
doc/tutorial.sgml
testing/insn_read_time.c