Hi,
I've been using code like to to read from FT2232H is sync FIFO245 mode:
struct ftdi_transfer_control *c = ftdi_read_data_submit(ftdi,
lpBuffer, dwBytesToRead);
int ret = ftdi_transfer_data_done(c);
I was expecting ftdi_transfer_data_done() to timeout after the default timeout
which seems to be 5 seconds if there is no data to read but it seems to hang
instead?
- Janne
--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx
|