projects
/
comedilib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e27560
)
changed N_CALDACS to 32
author
David Schleef
<ds@schleef.org>
Thu, 24 May 2001 18:22:26 +0000
(18:22 +0000)
committer
David Schleef
<ds@schleef.org>
Thu, 24 May 2001 18:22:26 +0000
(18:22 +0000)
comedi_calibrate/comedi_calibrate.c
patch
|
blob
|
history
diff --git
a/comedi_calibrate/comedi_calibrate.c
b/comedi_calibrate/comedi_calibrate.c
index b388d25d8293fc80c895d12d79f3c30385e322ef..32e7488ea8e0847df8cfb2b52b62de38d5784251 100644
(file)
--- a/
comedi_calibrate/comedi_calibrate.c
+++ b/
comedi_calibrate/comedi_calibrate.c
@@
-34,7
+34,7
@@
#include <string.h>
-#define N_CALDACS
16
+#define N_CALDACS
32
typedef struct{
int subdev;
@@
-132,12
+132,12
@@
int main(int argc, char *argv[])
fn = "/dev/comedi0";
while (1) {
- c = getopt(argc, argv, "f");
+ c = getopt(argc, argv, "f
:
");
if (c == -1)
break;
switch (c) {
case 'f':
- fn =
argv[optind]
;
+ fn =
optarg
;
break;
default:
printf("bad option\n");