tth 2 years ago
parent
commit
a320d37960
2 changed files with 3 additions and 2 deletions
  1. 1
    1
      serial/essai.sh
  2. 2
    1
      serial/t.c

+ 1
- 1
serial/essai.sh View File

@@ -5,7 +5,7 @@ DATAFILE="foo.dat"
5 5
 TMPFILE="/tmp/dd2data"
6 6
 
7 7
 IMAGE="graphe.png"
8
-NB_READ=25
8
+NB_READ=9500
9 9
 
10 10
 ./t -vv -n ${NB_READ} -d ${DEVICE} | tee -a ${DATAFILE}
11 11
 

+ 2
- 1
serial/t.c View File

@@ -30,7 +30,8 @@ for (count=0; count<iters; count++) {
30 30
 	foo = getline_to(sfd, ligne, 100, 0);
31 31
 	//
32 32
 	if (verbosity > 1) {
33
-		fprintf(stderr, "getline #%d -> %d\n", count, foo);
33
+		fprintf(stderr, "getline #%d on %d -> %d\n",
34
+					count, iters, foo);
34 35
 		fprintf(stderr, "%s\n", ligne);
35 36
 		}
36 37
 	foo = parse4values(ligne, 'T', datas);

Loading…
Cancel
Save