From: Frank Mori Hess Date: Sun, 12 May 2002 03:08:58 +0000 (+0000) Subject: corrected return values of config insn X-Git-Tag: r0_7_65~49 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a13adbdde37c8df4601a1c8aae9bdc3e954fc9e4;p=comedi.git corrected return values of config insn --- diff --git a/comedi/drivers/cb_pcidas64.c b/comedi/drivers/cb_pcidas64.c index 72529ceb..3a6d4a9d 100644 --- a/comedi/drivers/cb_pcidas64.c +++ b/comedi/drivers/cb_pcidas64.c @@ -1335,7 +1335,7 @@ static int ai_config_calibration_source( comedi_device *dev, lsampl_t *data ) DEBUG_PRINT("setting calibration source to %i\n", source); private(dev)->calibration_source = source; - return 1; + return 2; } static int ai_config_digital_trigger( comedi_device *dev, lsampl_t *data ) @@ -1349,8 +1349,8 @@ static int ai_config_digital_trigger( comedi_device *dev, lsampl_t *data ) { private(dev)->ext_trig_falling = 1; } - - return 1; + + return 2; } static int ai_config_insn( comedi_device *dev, comedi_subdevice *s, comedi_insn *insn, lsampl_t *data)