From: David Schleef Date: Tue, 10 Oct 2000 08:41:42 +0000 (+0000) Subject: random fixes X-Git-Tag: r0_7_12~8 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c74af29270787a1c7e9fdc2853c74487d8f40cd3;p=comedilib.git random fixes --- diff --git a/comedi_calibrate/comedi_calibrate.c b/comedi_calibrate/comedi_calibrate.c index f3a335c..bd1516e 100644 --- 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, "rf"); + 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;