From 57f038f35c38163d684b089382346c1d402adcae Mon Sep 17 00:00:00 2001 From: Frank Mori Hess Date: Tue, 17 Jun 2003 00:44:14 +0000 Subject: [PATCH] updated comment --- comedi_calibrate/cb.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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 ); } -- 2.26.2