libftdi Archives

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

From: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Date: Wed, 7 Jul 2010 15:54:22 +0200
Uwe,

On Tuesday, 6. July 2010 18:59:17 Uwe Bonnes wrote:
> >>>>> "Thomas" == Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx> writes:
>     Thomas> One thing comes to my mind: What happens to applications
>     Thomas> expecting the current behavior? I'm currently trying to
> figure Thomas> out if this would break something. Hmm.
> 
> At present, mosten no Byte is returen, but also sometimes some bytes of
> the request, depending on rate and scheduling. So the application must
> cope with the data even in the old behaviour.

I take your word for it, applied :) I also included a small compile fix
if async mode is disabled.

Thomas

--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx   

Current Thread