From c74af29270787a1c7e9fdc2853c74487d8f40cd3 Mon Sep 17 00:00:00 2001 From: David Schleef Date: Tue, 10 Oct 2000 08:41:42 +0000 Subject: [PATCH] random fixes --- comedi_calibrate/comedi_calibrate.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; -- 2.26.2