commit du dimanche

This commit is contained in:
phyto
2019-04-14 11:33:52 +02:00
parent 6bbeb33d25
commit a95e2846d4
4 changed files with 10 additions and 7 deletions

View File

@@ -61,7 +61,7 @@ for (idx=0; idx<nbloops; idx++) {
/* here we are trying to log all that temps values */
if (NULL!=fp) {
temps = time(NULL);
if ((temps-old_temps) > 60) {
if ((temps-old_temps) > 50) {
fprintf(fp, "%ld %f %f %f %f\n", temps,
Fdatas[0], Fdatas[1], Fdatas[2], Fdatas[3]);
fflush(fp);
@@ -121,7 +121,7 @@ nonl(); cbreak(); noecho();
keypad(stdscr, TRUE); /* acces aux touches 'curseur' */
fond_ecran(" Demonstrator ");
affiche_valeurs(serial_in, 10000);
affiche_valeurs(serial_in, 5000000);
/*
* plop, on a fini, il faut restaurer la console