projects
/
comedilib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa434c1
)
added get_subdevice_flags()
author
David Schleef
<ds@schleef.org>
Mon, 28 May 2001 02:35:08 +0000
(
02:35
+0000)
committer
David Schleef
<ds@schleef.org>
Mon, 28 May 2001 02:35:08 +0000
(
02:35
+0000)
lib/get.c
patch
|
blob
|
history
diff --git
a/lib/get.c
b/lib/get.c
index 73665b8a9a5ffa6b2774f7efefbf5a5e6a63a98d..3370c677cdfdb44231616c8ed7002043de1a0838 100644
(file)
--- a/
lib/get.c
+++ b/
lib/get.c
@@
-68,6
+68,14
@@
char *comedi_get_board_name(comedi_t *it)
return it->devinfo.board_name;
}
+int comedi_get_subdevice_flags(comedi_t *it,unsigned int subd)
+{
+ if(!valid_dev(it))
+ return 0;
+
+ return it->subdevices[subd].subd_flags;
+}
+
int comedi_get_subdevice_type(comedi_t *it,unsigned int subd)
{
if(!valid_dev(it))