git://developer.intra2net.com
/
libftdi
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Add option to write eeprom
[libftdi]
/
examples
/
find_all_pp.cpp
diff --git
a/examples/find_all_pp.cpp
b/examples/find_all_pp.cpp
index
98e5133
..
cf1675b
100644
(file)
--- a/
examples/find_all_pp.cpp
+++ b/
examples/find_all_pp.cpp
@@
-54,7
+54,7
@@
int main(int argc, char **argv)
<< it->serial();
// Open test
- if(it->open())
+ if(it->open() == 0)
std::cout << " (Open OK)";
else
std::cout << " (Open FAILED)";