ftdi_eeprom_build(): Fix inverted handling of VCP driver field for TYPE_R chips
authorThomas Jarosch <thomas.jarosch@intra2net.com>
Thu, 14 May 2020 21:00:24 +0000 (23:00 +0200)
committerThomas Jarosch <thomas.jarosch@intra2net.com>
Wed, 27 May 2020 18:24:15 +0000 (20:24 +0200)
commitc0182e62d7c607205652d7860e92618181b667de
treec07d46cbfb8db1cc9f8a12c8d5b8b23441a8473f
parent37388ecee483f0facac38486741d4e1680ddc51b
ftdi_eeprom_build(): Fix inverted handling of VCP driver field for TYPE_R chips

From doc/EEPROM-structure:

    On TYPE_R 00.3 set means D2XX, on other devices VCP

-> invert the field for TYPE_R so "eeprom->channel_a_driver"
   set to 1 always means VCP driver for all chips.
doc/EEPROM-structure
src/ftdi.c