libftdi Archives

Subject: Re: [PATCH] ftdi_stream: fix timeout setting

From: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Cc: Matthias Klein <matthias@xxxxxxxxxxxxx>
Date: Tue, 29 Aug 2023 17:15:10 +0200
Hi Matthias,

You wrote on Fri, Nov 18, 2022 at 09:59:40AM +0100:
> Divide the whole seconds into tv_sec, and the remaining microseconds into 
> tv_usec.
> 
> Signed-off-by: Matthias Klein <matthias@xxxxxxxxxxxxx>
> ---
>  src/ftdi_stream.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)

applied, thanks!

Did you experience an integer overflow with large timeout values
or what was the motivation for this change?

Cheers,
Thomas

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

Current Thread