libftdi-git Archives

Subject: A library to talk to FTDI chips branch, master, updated. v1.1-26-g809d711

From: libftdi-git@xxxxxxxxxxxxxxxxxxxxxxx
To: libftdi-git@xxxxxxxxxxxxxxxxxxxxxxx
Date: Sat, 15 Nov 2014 19:05:25 +0100 (CET)
The branch, master has been updated
       via  809d711d0cf81ebb87025a4f584e52e3797c9904 (commit)
      from  465f13186d74897839798e25570e59fc370bb8e2 (commit)


- Log -----------------------------------------------------------------
commit 809d711d0cf81ebb87025a4f584e52e3797c9904
Author: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
Date:   Sat Nov 15 19:04:35 2014 +0100

    Add FT230X support to ftdi_usb_find_all()

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

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

diff --git a/src/ftdi.c b/src/ftdi.c
index fe146b7..47e6959 100644
--- a/src/ftdi.c
+++ b/src/ftdi.c
@@ -295,7 +295,7 @@ struct ftdi_version_info ftdi_get_library_version(void)
     Finds all ftdi devices with given VID:PID on the usb bus. Creates a new
     ftdi_device_list which needs to be deallocated by ftdi_list_free() after
     use.  With VID:PID 0:0, search for the default devices
-    (0x403:0x6001, 0x403:0x6010, 0x403:0x6011, 0x403:0x6014)
+    (0x403:0x6001, 0x403:0x6010, 0x403:0x6011, 0x403:0x6014, 0x403:0x6015)
 
     \param ftdi pointer to ftdi_context
     \param devlist Pointer where to store list of found devices
@@ -332,7 +332,8 @@ int ftdi_usb_find_all(struct ftdi_context *ftdi, struct 
ftdi_device_list **devli
                 desc.idVendor == vendor && desc.idProduct == product) ||
                 (!(vendor || product) &&
                  (desc.idVendor == 0x403) && (desc.idProduct == 0x6001 || 
desc.idProduct == 0x6010
-                                              || desc.idProduct == 0x6011 || 
desc.idProduct == 0x6014)))
+                                              || desc.idProduct == 0x6011 || 
desc.idProduct == 0x6014
+                                              || desc.idProduct == 0x6015)))
         {
             *curdev = (struct ftdi_device_list*)malloc(sizeof(struct 
ftdi_device_list));
             if (!*curdev)


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.1-26-g809d711, libftdi-git <=