libftdi Archives

Subject: Re: libftdi patches : [Patch 1/5] : Prevent possible division by 0

From: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Date: Wed, 10 Apr 2013 10:00:21 +0200
Hi Nathael,

regarding this patch, can you tell me why it is needed?

ftdi_convert_baudrate() already checks if the baudrate is zero.
ftdi_to_clkbits() is only used internally and not exported via the API.

Did I miss something?

Cheers,
Thomas


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

Current Thread