Fix useless use_usb_version config file option is useless due to incorrect checking...
authorThilo Schulz <thilo@tjps.eu>
Mon, 12 Oct 2015 17:07:23 +0000 (19:07 +0200)
committerThomas Jarosch <thomas.jarosch@intra2net.com>
Fri, 16 Oct 2015 11:31:44 +0000 (13:31 +0200)
commit3986243d4e7f366001276d7246e7b9822f7e39c4
tree1582e396d42814b8a416be9c8b9487b5b53e1b80
parenta9b9673b87526a7ffb583b1f7a299f7639e9a240
Fix useless use_usb_version config file option is useless due to incorrect checking of boolean flag

Hi,

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.

Signed-off-by: Thilo Schulz <thilo@tjps.eu>
src/ftdi.c