From: Frank Mori Hess Date: Wed, 16 Jul 2003 16:38:33 +0000 (+0000) Subject: fix use of COMEDI_DEVCONF_AUX_DATA* options (from Bernd Porr) X-Git-Tag: r0_7_21~39 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=389507482bf11d7050427af6357f79acf0938823;p=comedilib.git fix use of COMEDI_DEVCONF_AUX_DATA* options (from Bernd Porr) --- diff --git a/comedi_config/comedi_config.c b/comedi_config/comedi_config.c index b52148e..7540733 100644 --- a/comedi_config/comedi_config.c +++ b/comedi_config/comedi_config.c @@ -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 */