Browse Source

are we ready for primetime ?

tth 1 year ago
parent
commit
a68ba6393b
2 changed files with 5 additions and 3 deletions
  1. 3
    1
      essai.c
  2. 2
    2
      serial/essai.sh

+ 3
- 1
essai.c View File

@@ -37,7 +37,9 @@ return 0;
37 37
 /* --------------------------------------------------------------- */
38 38
 static void finish(int signal)
39 39
 {
40
-endwin();       exit(0);
40
+endwin();       
41
+fprintf(stderr, "end of pid %d\n", getpid());
42
+exit(0);
41 43
 }
42 44
 /* --------------------------------------------------------------- */
43 45
 

+ 2
- 2
serial/essai.sh View File

@@ -5,9 +5,9 @@ DATAFILE="foo.dat"
5 5
 TMPFILE="/tmp/dd2data"
6 6
 
7 7
 IMAGE="graphe.png"
8
-NB_READ=9500
8
+NB_READ=5000
9 9
 
10
-./t -vv -n ${NB_READ} -d ${DEVICE} | tee -a ${DATAFILE}
10
+./t -v -n ${NB_READ} -d ${DEVICE} | tee -a ${DATAFILE}
11 11
 
12 12
 gnuplot << __EOC__
13 13
 set term png 	size 3200,512

Loading…
Cancel
Save