libftdi-git Archives

Subject: A library to talk to FTDI chips branch, master, updated. v1.0-35-ga7e0535

From: libftdi-git@xxxxxxxxxxxxxxxxxxxxxxx
To: libftdi-git@xxxxxxxxxxxxxxxxxxxxxxx
Date: Wed, 23 Oct 2013 16:02:27 +0200 (CEST)
The branch, master has been updated
       via  a7e053532fb66aabe0d232cb335be4746cc052b3 (commit)
      from  fa3032f085fc9e468c6ea19c23fd1a4316373d13 (commit)


- Log -----------------------------------------------------------------
commit a7e053532fb66aabe0d232cb335be4746cc052b3
Author: Davide Michelizza <dmichelizza@xxxxxxxxx>
Date:   Wed Oct 23 16:01:55 2013 +0200

    Fix FT232H eeprom suspend pulldown setting

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

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

diff --git a/src/ftdi.c b/src/ftdi.c
index 26b1707..90dfae5 100644
--- a/src/ftdi.c
+++ b/src/ftdi.c
@@ -3015,6 +3015,12 @@ int ftdi_eeprom_build(struct ftdi_context *ftdi)
                 output[0x01] |= POWER_SAVE_DISABLE_H;
             else
                 output[0x01] &= ~POWER_SAVE_DISABLE_H;
+
+            if (eeprom->suspend_pull_downs)
+                output[0x0a] |= 0x4;
+            else
+                output[0x0a] &= ~0x4;
+
             if (eeprom->clock_polarity)
                 output[0x01] |= FT1284_CLK_IDLE_STATE;
             else


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.0-35-ga7e0535, libftdi-git <=