Browse Source

better verbose display

master
tth 3 years ago
parent
commit
faca30264b
1 changed files with 7 additions and 7 deletions
  1. +7
    -7
      serial/t.c

+ 7
- 7
serial/t.c View File

@ -35,6 +35,13 @@ for (count=0; count<iters; count++) {
count, iters, foo); */
fprintf(stderr, "%s\n", ligne);
}
//
if (verbosity > 1)
{
p_tms = localtime(&temps);
(void)strftime(ligne, 19, "%H:%M:%S", p_tms);
fprintf(stderr, "%6d %s\n", count, ligne);
}
foo = parse4values(ligne, 'T', datas);
//
if (foo >= 0) {
@ -47,13 +54,6 @@ for (count=0; count<iters; count++) {
else {
fprintf(stderr, "%s: parse -> %d\n", __func__, foo);
}
//
if (verbosity > 1)
{
p_tms = localtime(&temps);
(void)strftime(ligne, 19, "%H:%M:%S", p_tms);
fprintf(stderr, "\t%s\n", ligne);
}
}
return 0;
}


Loading…
Cancel
Save