From 7adc4794f67f9e08b5a6662d0598e9174fe8e367 Mon Sep 17 00:00:00 2001 From: Frank Mori Hess Date: Fri, 15 Aug 2003 21:13:29 +0000 Subject: [PATCH] ignore externally referenced ranges in get_bipolar_lowgain(), etc. --- comedi_calibrate/comedi_calibrate.c | 4 ++++ 1 file changed, 4 insertions(+) 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; -- 2.26.2