From: Frank Mori Hess Date: Sat, 26 Apr 2003 22:24:37 +0000 (+0000) Subject: hmm, should have left postgain offset caldac as argument to X-Git-Tag: r0_7_21~208 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=46e32500de2b39189838cf44846158de5427f378;p=comedilib.git hmm, should have left postgain offset caldac as argument to cal_postgain() for 6062e --- diff --git a/comedi_calibrate/ni.c b/comedi_calibrate/ni.c index c910911..6f4830d 100644 --- a/comedi_calibrate/ni.c +++ b/comedi_calibrate/ni.c @@ -861,8 +861,8 @@ static int cal_ni_daqcard_6062e( calibration_setup_t *setup ) memset( saved_cals, 0, sizeof( saved_cals ) ); - cal_postgain_binary( setup, ni_zero_offset_low, ni_zero_offset_high, ADC_PREGAIN_OFFSET ); - cal_binary( setup, ni_zero_offset_high, ADC_POSTGAIN_OFFSET ); + cal_postgain_binary( setup, ni_zero_offset_low, ni_zero_offset_high, ADC_POSTGAIN_OFFSET ); + cal_binary( setup, ni_zero_offset_high, ADC_PREGAIN_OFFSET ); cal_binary( setup, ni_reference_low, ADC_GAIN ); current_cal->subdevice = setup->ad_subdev;