libftdi-git Archives

Subject: A library to talk to FTDI chips branch, libftdi-0.x, updated. v0.19-8-gb8a82a1

From: libftdi-git@xxxxxxxxxxxxxxxxxxxxxxx
To: libftdi-git@xxxxxxxxxxxxxxxxxxxxxxx
Date: Mon, 16 Jan 2012 15:26:29 +0100 (CET)
The branch, libftdi-0.x has been updated
       via  b8a82a1ff4ed0b0f0d408f0540572ee01741102c (commit)
      from  80d3cf70870aa4d1c8125bdf7ca00552b8a1ab57 (commit)


- Log -----------------------------------------------------------------
commit b8a82a1ff4ed0b0f0d408f0540572ee01741102c
Author: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
Date:   Mon Jan 16 15:26:01 2012 +0100

    Revert "Fixes the three open methods of the cpp wrapper that do not get an 
usb-device parameter as they have never really worked yet."
    
    This reverts commit 80d3cf70870aa4d1c8125bdf7ca00552b8a1ab57.
    
    Old version of the fix - not supposed to be commited.

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

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

diff --git a/ftdipp/ftdi.cpp b/ftdipp/ftdi.cpp
index 5868405..8511a91 100644
--- a/ftdipp/ftdi.cpp
+++ b/ftdipp/ftdi.cpp
@@ -85,8 +85,6 @@ int Context::open(int vendor, int product)
     if (ret < 0)
        return ret;
 
-    d->dev = usb_device(d->ftdi->usb_dev);
-
     return get_strings_and_reopen();
 }
 
@@ -106,8 +104,6 @@ int Context::open(int vendor, int product, const 
std::string& description, const
     if (ret < 0)
        return ret;
 
-    d->dev = usb_device(d->ftdi->usb_dev);
-
     return get_strings_and_reopen();
 }
 
@@ -118,8 +114,6 @@ int Context::open(const std::string& description)
     if (ret < 0)
        return ret;
 
-    d->dev = usb_device(d->ftdi->usb_dev);
-
     return get_strings_and_reopen();
 }
 


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, libftdi-0.x, updated. v0.19-8-gb8a82a1, libftdi-git <=