git://developer.intra2net.com
/
libftdi
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
fix sync bitbang read-timing
[libftdi]
/
examples
/
baud_test.c
diff --git
a/examples/baud_test.c
b/examples/baud_test.c
index
029164a
..
4a7d4d5
100644
(file)
--- 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)
{