projects
/
comedilib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c417f2c
)
random fixes
author
David Schleef
<ds@schleef.org>
Tue, 10 Oct 2000 08:41:42 +0000
(08:41 +0000)
committer
David Schleef
<ds@schleef.org>
Tue, 10 Oct 2000 08:41:42 +0000
(08:41 +0000)
comedi_calibrate/comedi_calibrate.c
patch
|
blob
|
history
diff --git
a/comedi_calibrate/comedi_calibrate.c
b/comedi_calibrate/comedi_calibrate.c
index f3a335cd73a97b8bbad19a464838c66ee1fb8670..bd1516e8892866072110429b9b9e3d8d97e26292 100644
(file)
--- a/
comedi_calibrate/comedi_calibrate.c
+++ b/
comedi_calibrate/comedi_calibrate.c
@@
-128,7
+128,7
@@
int main(int argc, char *argv[])
fn = "/dev/comedi0";
while (1) {
- c = getopt(argc, argv, "
r
f");
+ c = getopt(argc, argv, "f");
if (c == -1)
break;
switch (c) {
@@
-287,7
+287,7
@@
void cal_ni_mio_E(void)
printf("results (offset)\n");
for(i=0;i<16;i++){
- read_chan(
0,i
);
+ read_chan(
i,0
);
}
return;
@@
-346,7
+346,7
@@
void cal_ni_mio_E(void)
printf("results (offset)\n");
for(i=0;i<16;i++){
- read_chan(
0,i
);
+ read_chan(
i,0
);
}
return;