From c74e7fbd80b9d0d141e1c3511ce7729bfb3737af Mon Sep 17 00:00:00 2001 From: Gerd v. Egidy Date: Sun, 6 Dec 2009 14:39:57 +0100 Subject: [PATCH] increase resolution of time factor output --- examples/baud_test.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/examples/baud_test.c b/examples/baud_test.c index b2dfc84..654bc78 100644 --- 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); -- 1.7.1