added get_subdevice_flags()
This commit is contained in:
parent
fa434c140c
commit
7616ab0880
1 changed files with 8 additions and 0 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Reference in a new issue