libftdi-git Archives

Subject: A library to talk to FTDI chips branch, master, updated. v0.16rc1-4-g784b293

From: libftdi-git@xxxxxxxxxxxxxxxxxxxxxxx
To: libftdi-git@xxxxxxxxxxxxxxxxxxxxxxx
Date: Mon, 4 May 2009 20:52:05 +0200 (CEST)
The branch, master has been updated
       via  784b29353073a8cf9fa420876bf4bded7d56b080 (commit)
      from  2f6b4bb6a67d7b3a0d4b0ba216637c8bdaac728f (commit)


- Log -----------------------------------------------------------------
commit 784b29353073a8cf9fa420876bf4bded7d56b080
Author: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
Date:   Mon May 4 20:51:55 2009 +0200

    Fix result test of example application

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

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

diff --git a/examples/find_all_pp.cpp b/examples/find_all_pp.cpp
index 98e5133..cf1675b 100644
--- 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)";


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.16rc1-4-g784b293, libftdi-git <=