From: Frank Mori Hess Date: Fri, 15 Aug 2003 21:13:29 +0000 (+0000) Subject: ignore externally referenced ranges in get_bipolar_lowgain(), etc. X-Git-Tag: r0_7_21~20 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7adc4794f67f9e08b5a6662d0598e9174fe8e367;p=comedilib.git ignore externally referenced ranges in get_bipolar_lowgain(), etc. --- diff --git a/comedi_calibrate/comedi_calibrate.c b/comedi_calibrate/comedi_calibrate.c index bf6a1f7..8ef2b99 100644 --- a/comedi_calibrate/comedi_calibrate.c +++ b/comedi_calibrate/comedi_calibrate.c @@ -1177,6 +1177,7 @@ int get_bipolar_lowgain(comedi_t *dev,int subdev) for(i=0;iunit == UNIT_none ) continue; if(range->max>max){ ret = i; max=range->max; @@ -1197,6 +1198,7 @@ int get_bipolar_highgain(comedi_t *dev,int subdev) for(i=0;iunit == UNIT_none ) continue; if(range->maxmax; @@ -1217,6 +1219,7 @@ int get_unipolar_lowgain(comedi_t *dev,int subdev) for(i=0;iunit == UNIT_none ) continue; if(range->max>max){ ret = i; max=range->max; @@ -1237,6 +1240,7 @@ int get_unipolar_highgain(comedi_t *dev,int subdev) for(i=0;iunit == UNIT_none ) continue; if(range->max < max){ ret = i; max=range->max;