Ian Abbott
c45f319171
comedi_test: deal with INSN_GTOD values more carefully
...
Try and avoid arithmetic overflow when converting the difference between
two INSN_GTOD timestamps to a signed number of microseconds.
2016-06-20 11:29:14 +01:00
Ian Abbott
605fd55655
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!
2007-11-07 13:01:50 +00:00
David Schleef
698938d995
additional tests, fixes, move some functions to ../lib
2001-05-28 02:39:00 +00:00
David Schleef
981a9e2c22
testing additions
2000-11-30 22:57:04 +00:00