From 389507482bf11d7050427af6357f79acf0938823 Mon Sep 17 00:00:00 2001 From: Frank Mori Hess Date: Wed, 16 Jul 2003 16:38:33 +0000 Subject: [PATCH] fix use of COMEDI_DEVCONF_AUX_DATA* options (from Bernd Porr) --- comedi_config/comedi_config.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 */ -- 2.26.2