From 07b25b2b9f1e5099a87281303b912d40c3c2c953 Mon Sep 17 00:00:00 2001 From: Frank Mori Hess Date: Fri, 13 Jun 2003 18:03:22 +0000 Subject: [PATCH] remove duplicate lines --- comedi_calibrate/cal_common.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/comedi_calibrate/cal_common.c b/comedi_calibrate/cal_common.c index ab0df08..8db2c1c 100644 --- a/comedi_calibrate/cal_common.c +++ b/comedi_calibrate/cal_common.c @@ -179,15 +179,6 @@ static void generic_do_adc_postgain_offset( calibration_setup_t *setup, const ge { lowgain = get_unipolar_lowgain( setup->dev, setup->ad_subdev ); highgain = get_unipolar_highgain( setup->dev, setup->ad_subdev ); - - generic_prep_adc_caldacs( setup, layout, channel, highgain ); - reset_caldac( setup, layout->adc_postgain_offset( channel ) ); - /* need to make sure we aren't stuck on zero for unipolar, - * by setting pregain offset to maximum */ - generic_peg( setup, layout->adc_ground_observable( setup, channel, lowgain ), - layout->adc_offset( channel ), 1 ); - generic_peg( setup, layout->adc_ground_observable( setup, channel, lowgain ), - layout->adc_offset_fine( channel ), 1 ); }else { lowgain = get_bipolar_lowgain( setup->dev, setup->ad_subdev ); -- 2.26.2