git://developer.intra2net.com
/
libftdi
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
9783410
)
increase resolution of time factor output
author
Gerd v. Egidy
<gerd.von.egidy@intra2net.com>
Sun, 6 Dec 2009 13:39:57 +0000 (14:39 +0100)
committer
Gerd v. Egidy
<gerd.von.egidy@intra2net.com>
Sun, 6 Dec 2009 13:39:57 +0000 (14:39 +0100)
examples/baud_test.c
patch
|
blob
|
blame
|
history
diff --git
a/examples/baud_test.c
b/examples/baud_test.c
index
b2dfc84
..
654bc78
100644
(file)
--- a/
examples/baud_test.c
+++ b/
examples/baud_test.c
@@
-172,7
+172,7
@@
int main(int argc, char **argv)
}
duration=get_prec_time()-start;
- printf("and took %.4f seconds, this is factor %.2f\n",duration,plan/duration);
+ printf("and took %.4f seconds, this is factor %.3f\n",duration,plan/duration);
ftdi_usb_close(&ftdic);
ftdi_deinit(&ftdic);