projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c39a50
)
corrected return values of config insn
author
Frank Mori Hess
<fmhess@speakeasy.net>
Sun, 12 May 2002 03:08:58 +0000
(
03:08
+0000)
committer
Frank Mori Hess
<fmhess@speakeasy.net>
Sun, 12 May 2002 03:08:58 +0000
(
03:08
+0000)
comedi/drivers/cb_pcidas64.c
patch
|
blob
|
history
diff --git
a/comedi/drivers/cb_pcidas64.c
b/comedi/drivers/cb_pcidas64.c
index 72529ceb1013f5cd0e6a12fe643bfaa6873961d1..3a6d4a9d4909b4256d722ed126b06242a2a278e6 100644
(file)
--- 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)