git://developer.intra2net.com
/
libftdi
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
03212d5
)
Small documentation update
v0.10
author
Thomas Jarosch
<opensource@intra2net.com>
Thu, 3 May 2007 16:11:03 +0000 (16:11 +0000)
committer
Thomas Jarosch
<opensource@intra2net.com>
Thu, 3 May 2007 16:11:03 +0000 (16:11 +0000)
src/ftdi.c
patch
|
blob
|
blame
|
history
diff --git
a/src/ftdi.c
b/src/ftdi.c
index
583944e
..
096a03d
100644
(file)
--- a/
src/ftdi.c
+++ b/
src/ftdi.c
@@
-741,6
+741,7
@@
int ftdi_write_data_get_chunksize(struct ftdi_context *ftdi, unsigned int *chunk
\param size Size of the buffer
\retval <0: error code from usb_bulk_read()
+ \retval 0: no data was available
\retval >0: number of bytes read
\remark This function is not useful in bitbang mode.