libftdi-git Archives

Subject: A library to talk to FTDI chips branch, master, updated. v1.2-7-g1162549

From: libftdi-git@xxxxxxxxxxxxxxxxxxxxxxx
To: libftdi-git@xxxxxxxxxxxxxxxxxxxxxxx
Date: Thu, 12 Feb 2015 22:43:14 +0100 (CET)
The branch, master has been updated
       via  1162549f619aad91ba30008b64827b3716d15b76 (commit)
      from  add00ad60e3d942f23233a0a25a39cebfced5c15 (commit)


- Log -----------------------------------------------------------------
commit 1162549f619aad91ba30008b64827b3716d15b76
Author: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
Date:   Thu Feb 12 22:42:14 2015 +0100

    Fix wrong offset for CBUS_FUNCTION_9 via ftdi_get_eeprom_value()
    
    Reported by Denis Davydov. Thanks!

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

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

diff --git a/src/ftdi.c b/src/ftdi.c
index 1e3b445..68489ea 100644
--- a/src/ftdi.c
+++ b/src/ftdi.c
@@ -3684,7 +3684,7 @@ int ftdi_get_eeprom_value(struct ftdi_context *ftdi, enum 
ftdi_eeprom_value valu
             *value = ftdi->eeprom->cbus_function[8];
             break;
         case CBUS_FUNCTION_9:
-            *value = ftdi->eeprom->cbus_function[8];
+            *value = ftdi->eeprom->cbus_function[9];
             break;
         case HIGH_CURRENT:
             *value = ftdi->eeprom->high_current;


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.2-7-g1162549, libftdi-git <=