libftdi-git Archives

Subject: A library to talk to FTDI chips branch, master, updated. v1.4rc2-2-gf1b4c09

From: libftdi-git@xxxxxxxxxxxxxxxxxxxxxxx
To: libftdi-git@xxxxxxxxxxxxxxxxxxxxxxx
Date: Thu, 27 Jul 2017 10:19:06 +0200 (CEST)
The branch, master has been updated
       via  f1b4c09a8409b0706a4b25c38e5215b8fe28c64c (commit)
      from  6ec5ad661dd54ec5929eba9e6d8f964f30f3400f (commit)


- Log -----------------------------------------------------------------
commit f1b4c09a8409b0706a4b25c38e5215b8fe28c64c
Author: Matthias Janke <matthias.janke@xxxxxxxxxxxxxxxxxxxxxxx>
Date:   Fri Jul 21 16:10:15 2017 +0200

    follow-up on c++ open() fix. fixes logic in open() with long argument list.

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

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

diff --git a/ftdipp/ftdi.cpp b/ftdipp/ftdi.cpp
index bdd85f5..7bf4ca6 100644
--- a/ftdipp/ftdi.cpp
+++ b/ftdipp/ftdi.cpp
@@ -106,7 +106,7 @@ int Context::open(int vendor, int product, const 
std::string& description, const
     if (ret < 0)
        return ret;
 
-    return get_strings_and_reopen(false,description.empty(),serial.empty());
+    return get_strings_and_reopen(false,!description.empty(),!serial.empty());
 }
 
 int Context::open(const std::string& description)


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.4rc2-2-gf1b4c09, libftdi-git <=