libftdi-git Archives

Subject: A library to talk to FTDI chips branch, master, updated. v0.16-26-gc74e7fb

From: libftdi-git@xxxxxxxxxxxxxxxxxxxxxxx
To: libftdi-git@xxxxxxxxxxxxxxxxxxxxxxx
Date: Sun, 6 Dec 2009 15:24:14 +0100 (CET)
The branch, master has been updated
       via  c74e7fbd80b9d0d141e1c3511ce7729bfb3737af (commit)
       via  978341023343a6240205891402bf7320cfcccdd5 (commit)
      from  e0aca3fac598e0ee54952d24ca32aa2507de1066 (commit)


- Log -----------------------------------------------------------------
commit c74e7fbd80b9d0d141e1c3511ce7729bfb3737af
Author: Gerd v. Egidy <gerd.von.egidy@xxxxxxxxxxxxx>
Date:   Sun Dec 6 14:39:57 2009 +0100

    increase resolution of time factor output

commit 978341023343a6240205891402bf7320cfcccdd5
Author: Gerd v. Egidy <gerd.von.egidy@xxxxxxxxxxxxx>
Date:   Sun Dec 6 14:39:30 2009 +0100

    fix documentation typo

-----------------------------------------------------------------------

Summary of changes:
 examples/baud_test.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/examples/baud_test.c b/examples/baud_test.c
index fd4959f..654bc78 100644
--- a/examples/baud_test.c
+++ b/examples/baud_test.c
@@ -5,7 +5,7 @@
  * options:
  *  -p <usb-product-id> (vendor is fixed to ftdi / 0x0403)
  *  -d <datasize to send in bytes>
- *  -b <baudrate> (multiplies by 16 if bitbang as written in the ftdi 
datasheets)
+ *  -b <baudrate> (divides by 16 if bitbang as taken from the ftdi datasheets)
  *  -m <mode to use> r: serial a: async bitbang s:sync bitbang 
  *
  * (C) 2009 by Gerd v. Egidy <gerd.von.egidy@xxxxxxxxxxxxx>
@@ -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);


hooks/post-receive
-- 
A library to talk to FTDI chips

--
libftdi-git - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi-git+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx   

Current Thread
  • A library to talk to FTDI chips branch, master, updated. v0.16-26-gc74e7fb, libftdi-git <=