From a13adbdde37c8df4601a1c8aae9bdc3e954fc9e4 Mon Sep 17 00:00:00 2001 From: Frank Mori Hess Date: Sun, 12 May 2002 03:08:58 +0000 Subject: [PATCH] corrected return values of config insn --- comedi/drivers/cb_pcidas64.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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) -- 2.26.2