explicitly initialized value, subdevice, channel, aref and range in main.c

This commit is contained in:
Frank Mori Hess 2001-05-14 00:04:08 +00:00
parent 57f4801290
commit 7263bf6d2c
3 changed files with 5 additions and 12 deletions

View file

@ -28,10 +28,7 @@
#define N_SCANS 10
#define N_CHANS 16
int subdevice = 0;
int chan=9;
int range = 0;
int aref = AREF_GROUND;
int n_chan = 3;
double freq = 1000;

View file

@ -18,11 +18,11 @@
char *filename="/dev/comedi0";
int verbose_flag;
int value;
int subdevice;
int channel;
int aref;
int range;
int value=0;
int subdevice=0;
int channel=0;
int aref=0;
int range=0;
int parse_options(int argc, char *argv[])

View file

@ -30,10 +30,6 @@
#define N_SCANS 10
#define N_CHANS 16
int subdevice = 0;
int chan=0;
int range = 0;
int aref = AREF_GROUND;
double freq = 1000;
#define BUFSZ 1000