libftdi Archives

Subject: Re: Should ftdi_read_data_submit_to() be a new call?

From: Xiaofan Chen <xiaofanc@xxxxxxxxx>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Date: Fri, 1 Apr 2011 21:43:57 +0800
On Tue, Mar 29, 2011 at 11:22 PM, Uwe Bonnes
<bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
> Hello,
>
> should ftdi_read_data_submit_to() be a new call are should we change the
> arguments of ftdi_read_data_submit() to include the timeout?

I just feel that the function name ftdi_read_data_submit_to()
sounds a bit strange. Maybe  ftdi_read_data_submit_with_timeout()
is better.

On the other hand, probably changing arguments of ftdi_read_data_submit()
to include the timeout is better.

-- 
Xiaofan

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

Current Thread