projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e985f9
)
move INSN_CONFIG to header
author
David Schleef
<ds@schleef.org>
Fri, 31 Jan 2003 03:49:59 +0000
(
03:49
+0000)
committer
David Schleef
<ds@schleef.org>
Fri, 31 Jan 2003 03:49:59 +0000
(
03:49
+0000)
comedi/drivers/ni_mio_common.c
patch
|
blob
|
history
diff --git
a/comedi/drivers/ni_mio_common.c
b/comedi/drivers/ni_mio_common.c
index a35646cb27c6d3da02f147742354fe70abc254c4..8b597a1fc24d64c229ce731fec92ba506547c578 100644
(file)
--- a/
comedi/drivers/ni_mio_common.c
+++ b/
comedi/drivers/ni_mio_common.c
@@
-1783,9
+1783,6
@@
static int ni_ai_inttrig(comedi_device *dev,comedi_subdevice *s,
return 1;
}
-#define INSN_CONFIG_ANALOG_TRIG 0x10
-#define INSN_CONFIG_ANALOG_CONV 0x11
-
static int ni_ai_config_analog_trig(comedi_device *dev,comedi_subdevice *s,
comedi_insn *insn, lsampl_t *data);
@@
-1797,8
+1794,6
@@
static int ni_ai_insn_config(comedi_device *dev,comedi_subdevice *s,
switch(data[0]){
case INSN_CONFIG_ANALOG_TRIG:
return ni_ai_config_analog_trig(dev,s,insn,data);
- case INSN_CONFIG_ANALOG_CONV:
- break;
case INSN_CONFIG_ALT_SOURCE:
{
unsigned int calib_source;