From: Frank Mori Hess Date: Tue, 17 Jun 2003 00:44:14 +0000 (+0000) Subject: updated comment X-Git-Tag: r0_7_21~79 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=57f038f35c38163d684b089382346c1d402adcae;p=comedilib.git updated comment --- diff --git a/comedi_calibrate/cb.c b/comedi_calibrate/cb.c index b005ef0..5e410be 100644 --- a/comedi_calibrate/cb.c +++ b/comedi_calibrate/cb.c @@ -489,9 +489,11 @@ static int cal_cb_pci_1602_16( calibration_setup_t *setup ) layout.adc_ground_observable = ai_ground_observable_1xxx; layout.dac_high_observable = ao_high_observable_1xxx; layout.dac_ground_observable = ao_ground_observable_1xxx; - /* On unipolar ranges, both the gain and offset adjustments couple - * to the ground observables. I don't know if there is a way - * to get around it, so we'll just use the bipolar postgain setting. */ + /* The bipolar postgain calibration should be good for both + * bipolar and unipolar ranges, so disable separate + * unipolar postgain offset calibration (it will fail + * horribly anyways if you try it). + */ layout.do_adc_unipolar_postgain = 0; return generic_cal_by_range( setup, &layout ); }