changed N_CALDACS to 32

This commit is contained in:
David Schleef 2001-05-24 18:22:26 +00:00
parent 3e2756029e
commit ef8394e66c

View file

@ -34,7 +34,7 @@
#include <string.h> #include <string.h>
#define N_CALDACS 16 #define N_CALDACS 32
typedef struct{ typedef struct{
int subdev; int subdev;
@ -132,12 +132,12 @@ int main(int argc, char *argv[])
fn = "/dev/comedi0"; fn = "/dev/comedi0";
while (1) { while (1) {
c = getopt(argc, argv, "f"); c = getopt(argc, argv, "f:");
if (c == -1) if (c == -1)
break; break;
switch (c) { switch (c) {
case 'f': case 'f':
fn = argv[optind]; fn = optarg;
break; break;
default: default:
printf("bad option\n"); printf("bad option\n");