fix use of COMEDI_DEVCONF_AUX_DATA* options (from Bernd Porr)
This commit is contained in:
parent
0812812571
commit
389507482b
1 changed files with 2 additions and 2 deletions
|
@ -257,8 +257,8 @@ int main(int argc,char *argv[])
|
|||
exit(1);
|
||||
}
|
||||
|
||||
it.options[0]=(int)init_data;
|
||||
it.options[1]=init_size;
|
||||
it.options[COMEDI_DEVCONF_AUX_DATA]=(int)init_data;
|
||||
it.options[COMEDI_DEVCONF_AUX_DATA_LENGTH]=init_size;
|
||||
}
|
||||
|
||||
/* add: sanity check for device */
|
||||
|
|
Loading…
Add table
Reference in a new issue