libftdi-git Archives

Subject: A library to talk to FTDI chips branch, master, updated. v1.3-10-g9013b6e

From: libftdi-git@xxxxxxxxxxxxxxxxxxxxxxx
To: libftdi-git@xxxxxxxxxxxxxxxxxxxxxxx
Date: Fri, 23 Dec 2016 14:31:49 +0100 (CET)
The branch, master has been updated
       via  9013b6edddead7c6a1cc299cbc88c848af8ba911 (commit)
      from  c4221d17cfaa1f400ea15515a33590ab950161b6 (commit)


- Log -----------------------------------------------------------------
commit 9013b6edddead7c6a1cc299cbc88c848af8ba911
Author: Robert Cox <Robert.cox@xxxxxxxxxxxxxxx>
Date:   Fri Dec 23 14:30:55 2016 +0100

    eeprom: Fix USE_SERIAL handling for 230X type chips
    
    Found that the USE_SERIAL was not being set correctly in
    the eeprom_build routine for the 230X. Tracked the problem down to a line
    that hard coded the value when the 230X was first added. With this line
    removed code currently in the code before the switch will set the bit
    correctly for the 230X.

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

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

diff --git a/src/ftdi.c b/src/ftdi.c
index 0b26a7a..b87aa1c 100644
--- a/src/ftdi.c
+++ b/src/ftdi.c
@@ -3181,7 +3181,6 @@ int ftdi_eeprom_build(struct ftdi_context *ftdi)
             break;
         case TYPE_230X:
             output[0x00] = 0x80; /* Actually, leave the default value */
-            output[0x0a] = 0x08; /* Enable USB Serial Number */
             /*FIXME: Make DBUS & CBUS Control configurable*/
             output[0x0c] = 0;    /* DBUS drive 4mA, CBUS drive 4 mA like 
factory default */
             for (j = 0; j <= 6; j++)


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.3-10-g9013b6e, libftdi-git <=