increase resolution of time factor output
authorGerd v. Egidy <gerd.von.egidy@intra2net.com>
Sun, 6 Dec 2009 13:39:57 +0000 (14:39 +0100)
committerGerd v. Egidy <gerd.von.egidy@intra2net.com>
Sun, 6 Dec 2009 13:39:57 +0000 (14:39 +0100)
examples/baud_test.c

index b2dfc84..654bc78 100644 (file)
@@ -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);