libftdi Archives

Subject: Re: libftdi: Make ftdi_read_data() honor usb_read_timeout

From: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Date: Mon, 28 Jun 2010 19:19:26 +0200
Hello Uwe,

On 06/25/2010 06:03 PM, Uwe Bonnes wrote:
> I think there is some unexpected behaviour in ftdi_read_data(). 
> I would expect that the ftdi_read_data() call returns when either the
> requested number of bytes has been read or when zero of fewer then the
> requested number of bytes has been read _and_ the timeout happened.
> However the present implementation returns immediate, without waiting the
> usb_read_timeout. This happens as

I'll take a detailed look at the patch at the end of the week.
(Currently dealing with a small summer flu which caught me by surprise).


libftdi - see for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx   

Current Thread