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
|