comedilib/lib
Ian Abbott 49f298cf86 lib/range.c: deal with samples > maxdata when converting to phys
By default, comedi_to_phys() and comedi_sample_to_phys() return NAN (not
a number) if the raw sample value is 0 or maxdata.  Change it to convert
any raw sample values above maxdata to NAN.  Such raw samples shouldn't
occur, but this seems like a sensible thing to do.  (Note that the
conversion of out-of-range values to NAN behavior can be changed via the
comedi_set_global_oor_behavior() function.)
2015-08-24 17:33:11 +01:00
..
buffer.c Added some device and subdevice validity checks. 2008-11-05 12:52:25 +00:00
calib.c #include <sys/stat.h> needed for fstat(). 2011-01-05 15:02:44 +00:00
calib_lex.l lib/calib_lex.l: Add #define YY_NO_INPUT to C pre-amble 2013-03-21 15:49:18 +00:00
calib_yacc.y lib/calib_yacc.y: fix segfault in comedi_parse_calibration_file() 2015-08-20 13:02:53 +01:00
cmd.c lib: remove cached cmd_timed and cmd_timed_errno from subdevice 2013-05-07 12:58:30 +01:00
comedi.c lib: remove cached cmd_timed and cmd_timed_errno from subdevice 2013-05-07 12:58:30 +01:00
data.c lib/data.c: remove unused variables 2013-05-07 13:01:08 +01:00
dio.c Updated comedi_dio_config implementation to reflect logical split 2008-02-12 18:27:00 +00:00
error.c Put __comedi_errno variable into thread-local storage if the compiler 2009-02-18 14:10:54 +00:00
filler.c Fixed do_test_for_insn_bits(), broken by validity checks added to 2008-12-18 17:23:14 +00:00
get.c Added some device and subdevice validity checks. 2008-11-05 12:52:25 +00:00
insn_config_wrappers.c libcomedi: don't ignore channel in comedi_set_clock_source() 2011-12-01 15:37:43 +00:00
ioctl.c Made comedi_ioctl take its third argument as a void* instead of 2008-02-12 01:12:46 +00:00
libinternal.h lib: replace YYPARSE_PARAM and YYLEX_PARAM 2014-01-07 14:24:36 +00:00
Makefile.am lib/Makefile.am: Add 'comedi_la_LIBADD = -lm' 2014-02-13 11:39:35 +00:00
range.c lib/range.c: deal with samples > maxdata when converting to phys 2015-08-24 17:33:11 +01:00
sv.c lib: check some malloc/calloc/realloc failures 2013-05-07 12:32:26 +01:00
timed.c trying to fix undefined symbol problems people are having 2003-05-18 00:26:59 +00:00
timer.c Added some device and subdevice validity checks. 2008-11-05 12:52:25 +00:00
version_script Added channel parameter to comedi_set_clock_source() and 2010-03-19 13:44:56 +00:00