git://developer.intra2net.com
/
libftdi
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
increase resolution of time factor output
[libftdi]
/
examples
/
baud_test.c
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);