From 34327d3efd82714c34a5c9223ab0f93ca863cf2a Mon Sep 17 00:00:00 2001 From: David Schleef Date: Thu, 6 Jun 2002 01:21:10 +0000 Subject: [PATCH] disable CR_ALT_SOURCE until there's a check for Comedi support --- comedi_calibrate/ni.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/comedi_calibrate/ni.c b/comedi_calibrate/ni.c index e0adb52..d9ae8eb 100644 --- a/comedi_calibrate/ni.c +++ b/comedi_calibrate/ni.c @@ -170,6 +170,7 @@ void ni_setup_observables( calibration_setup_t *setup ) /* 0 offset, low gain */ o = setup->observables + ni_zero_offset_low; o->name = "ai, bipolar zero offset, low gain"; +#if 0 o->preobserve_insn = po_tmpl2; o->preobserve_insn.data = o->preobserve_data; o->preobserve_insn.data[0] = INSN_CONFIG_ALT_SOURCE; @@ -177,6 +178,11 @@ void ni_setup_observables( calibration_setup_t *setup ) o->observe_insn = tmpl; o->observe_insn.chanspec = CR_ALT_SOURCE; o->target = 0; +#else + o->observe_insn = tmpl; + o->observe_insn.chanspec = CR_PACK(0,bipolar_lowgain,AREF_OTHER); + o->target = 0; +#endif /* 0 offset, high gain */ o = setup->observables + ni_zero_offset_high; -- 2.26.2