X-Git-Url: http://developer.intra2net.com/git/?p=libftdi;a=blobdiff_plain;f=src%2Fftdi.c;h=096a03d50a0acf928c56b9ad51cd2527d05e27a2;hp=583944ebb51e188992be36f54d34827d24598ce1;hb=d77b0e94a0a6c7cbd09ecb5bd768bcb525befa21;hpb=03212d546eb7bb185b21d7d9ce618c9b47093a76 diff --git a/src/ftdi.c b/src/ftdi.c index 583944e..096a03d 100644 --- 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.