]>
Commit | Line | Data |
---|---|---|
be21fce2 JB |
1 | --- chronojump-1.4.4.1/chronopic-tests/test-precision.c.orig 2013-04-12 13:20:03.000000000 +0200 |
2 | +++ chronojump-1.4.4.1/chronopic-tests/test-precision.c 2014-06-22 17:01:23.143871975 +0200 | |
3 | @@ -158,7 +158,7 @@ | |
4 | sprintf (cad,"Periodo: %7.2f ms, Freq: %2.3f Hz. ",ton+toff, | |
5 | 1000/(ton+toff)); | |
6 | //sprintf (cad,"%X %X %X",trama[2],trama[3],trama[4]); | |
7 | - printf (cad); | |
8 | + fputs (cad, stdout); | |
9 | for (i=0; i<strlen(cad); i++) | |
10 | printf ("\b"); | |
11 | fflush(stdout); | |
12 | --- chronojump-1.4.4.1/chronopic-tests/test-saltos.c.orig 2013-04-12 13:20:03.000000000 +0200 | |
13 | +++ chronojump-1.4.4.1/chronopic-tests/test-saltos.c 2014-06-22 17:04:16.677201690 +0200 | |
14 | @@ -99,7 +99,6 @@ | |
15 | /*----------------*/ | |
16 | int main (int argc, char **argv) | |
17 | { | |
18 | - char cad[80]; | |
19 | int serial_fd; | |
20 | int ok; | |
21 | double t; | |
22 | @@ -187,8 +186,7 @@ | |
23 | toff=t; | |
24 | ||
25 | //-- Imprimir informacion | |
26 | - sprintf (cad,"Tiempo: %8.1f ms\n",toff); | |
27 | - printf (cad); | |
28 | + printf ("Tiempo: %8.1f ms\n",toff); | |
29 | } | |
30 | case 1: //-- Estado ON. Usuario estaba de la plataforma | |
31 |