libftdi-git Archives

Subject: A library to talk to FTDI chips branch, master, updated. v0.17-304-g9330b12

From: libftdi-git@xxxxxxxxxxxxxxxxxxxxxxx
To: libftdi-git@xxxxxxxxxxxxxxxxxxxxxxx
Date: Mon, 16 Jan 2012 15:44:34 +0100 (CET)
The branch, master has been updated
       via  9330b1205d8889de6586606228bfb5774491315b (commit)
      from  025db2c2440677121d184a2d6b8bc4d0e810aa5a (commit)


- Log -----------------------------------------------------------------
commit 9330b1205d8889de6586606228bfb5774491315b
Author: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
Date:   Mon Jan 16 15:44:31 2012 +0100

    C++ wrapper: Reset internal USB device pointer on Context::close()

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

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

diff --git a/ftdipp/ftdi.cpp b/ftdipp/ftdi.cpp
index f1c1cef..e2755d8 100644
--- a/ftdipp/ftdi.cpp
+++ b/ftdipp/ftdi.cpp
@@ -132,6 +132,7 @@ int Context::open(struct libusb_device *dev)
 int Context::close()
 {
     d->open = false;
+    d->dev = 0;
     return ftdi_usb_close(d->ftdi);
 }
 


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. v0.17-304-g9330b12, libftdi-git <=