From: Gerd v. Egidy Date: Sun, 6 Dec 2009 13:39:57 +0000 (+0100) Subject: increase resolution of time factor output X-Git-Tag: v0.17~15 X-Git-Url: http://developer.intra2net.com/git/?p=libftdi;a=commitdiff_plain;h=c74e7fbd80b9d0d141e1c3511ce7729bfb3737af increase resolution of time factor output --- 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);