libftdi-git Archives

Subject: A library to talk to FTDI chips branch, master, updated. v1.4-33-g4296ba2

From: libftdi-git@xxxxxxxxxxxxxxxxxxxxxxx
To: libftdi-git@xxxxxxxxxxxxxxxxxxxxxxx
Date: Mon, 13 Apr 2020 22:45:49 +0200 (CEST)
The branch, master has been updated
       via  4296ba2a9eddddfc99245929b3e3857aaa07eef5 (commit)
      from  864bb3b99768f95ef6a01d347c26a096864cc7ac (commit)


- Log -----------------------------------------------------------------
commit 4296ba2a9eddddfc99245929b3e3857aaa07eef5
Author: Holger Mö�inger <h.moessinger@xxxxxxxxx>
Date:   Wed Feb 5 14:57:41 2020 +0100

    eeprom: Add channel_a_driver support for type xxR chips

-----------------------------------------------------------------------

Summary of changes:
 src/ftdi.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/ftdi.c b/src/ftdi.c
index d2f4ce4..7234229 100644
--- a/src/ftdi.c
+++ b/src/ftdi.c
@@ -3182,6 +3182,8 @@ int ftdi_eeprom_build(struct ftdi_context *ftdi)
             output[0x00] = type2bit(eeprom->channel_a_type, TYPE_R);
             if (eeprom->high_current == HIGH_CURRENT_DRIVE_R)
                 output[0x00] |= HIGH_CURRENT_DRIVE_R;
+            if (eeprom->channel_a_driver == DRIVER_VCP)
+                output[0x00] |= DRIVER_VCP;
             if (eeprom->external_oscillator)
                 output[0x00] |= 0x02;
             output[0x01] = 0x40; /* Hard coded Endpoint Size*/


hooks/post-receive
-- 
A library to talk to FTDI chips

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

Current Thread
  • A library to talk to FTDI chips branch, master, updated. v1.4-33-g4296ba2, libftdi-git <=