Hi I can't figure out how to use ftdi_read_data with a timeout ... ?
Previously I've set a latency time of 1 and then repeat the call to ftdi_read_data 750 times to achieve the timeout i need, but that is *hardly* optimal, and also it doesn't give an exact timeout. I see there is a usb_read_timeout variable in the ftdi-context, but it is set to 5000, and still i get an immediate return from ftdi_read_data if there is no data available. I've tried to increase it to 100000 with the same result. Is it possible? Regards, Jonatan Magnusson -- libftdi - see http://www.intra2net.com/en/developer/libftdi for details. To unsubscribe send a mail to [email protected]
