libftdi Archives

Subject: Re: [PATCH] Fix useless use_usb_version config file option is useless due to incorrect checking of boolean flag

From: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Date: Fri, 16 Oct 2015 13:37:44 +0200
Hi Thilo,

On Monday, 12. October 2015 19:05:07 Thilo Schulz wrote:
> currently the use_usb_version configuration option for ftdi_eeprom is not
> honoured. Config file adds boolean option as 0x00 or 0x01, but the check
> in libftdi is for the actual bitnumber for USE_USB_VERSION_BIT which is
> not 0x01.

thanks, I've applied your patches.

I double checked the changes involving USE_USB_VERSION_BIT because of 
possible BC issues, so far I didn't spot any.

Cheers,
Thomas


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

Current Thread