libftdi-git Archives

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

From: libftdi-git@xxxxxxxxxxxxxxxxxxxxxxx
To: libftdi-git@xxxxxxxxxxxxxxxxxxxxxxx
Date: Sun, 6 Dec 2009 21:03:23 +0100 (CET)
The branch, master has been updated
       via  ac432dd8ec073a41a661e89b8b48d0654ce4b73b (commit)
      from  39c9dbfc467f9baf2fbeea3c70ae210fca5ec7ab (commit)


- Log -----------------------------------------------------------------
commit ac432dd8ec073a41a661e89b8b48d0654ce4b73b
Author: Gerd v. Egidy <gerd.von.egidy@xxxxxxxxxxxxx>
Date:   Sun Dec 6 21:03:03 2009 +0100

    fix sync bitbang read-timing

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

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

diff --git a/examples/baud_test.c b/examples/baud_test.c
index 029164a..4a7d4d5 100644
--- a/examples/baud_test.c
+++ b/examples/baud_test.c
@@ -167,6 +167,10 @@ int main(int argc, char **argv)
 
     start=get_prec_time();
 
+    // don't wait for more data to arrive, take what we get and keep on sending
+    // yes, we really would like to have libusb 1.0+ with async read/write...
+    ftdic.usb_read_timeout=1;
+
     i=0;
     while(i < datasize)
     {


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-29-gac432dd, libftdi-git <=