[prev in list] [next in list] [prev in thread] [next in thread] 

List:       libftdi-git
Subject:    A library to talk to FTDI chips branch, master, updated. v1.2-7-g1162549
From:       libftdi-git () developer ! intra2net ! com
Date:       2015-02-12 21:43:14
Message-ID: 20150212214314.4568027820A () developer ! intra2net ! com
[Download RAW message or body]

The branch, master has been updated
       via  1162549f619aad91ba30008b64827b3716d15b76 (commit)
      from  add00ad60e3d942f23233a0a25a39cebfced5c15 (commit)


- Log -----------------------------------------------------------------
commit 1162549f619aad91ba30008b64827b3716d15b76
Author: Thomas Jarosch <thomas.jarosch@intra2net.com>
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@developer.intra2net.com   

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic