From b4cacbcf76565eadb3be75ee798fedc83575633b Mon Sep 17 00:00:00 2001 From: edouard Date: Sat, 26 Feb 2011 14:53:06 +0000 Subject: [PATCH] Sorry, had to change the connection detection, it makes the Linux library crash immediately... git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2892 ebee16cc-31ac-478f-84a7-5cbb03baadba --- ground/openpilotgcs/src/plugins/rawhid/rawhidplugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ground/openpilotgcs/src/plugins/rawhid/rawhidplugin.cpp b/ground/openpilotgcs/src/plugins/rawhid/rawhidplugin.cpp index da3aadf51..243b487fc 100644 --- a/ground/openpilotgcs/src/plugins/rawhid/rawhidplugin.cpp +++ b/ground/openpilotgcs/src/plugins/rawhid/rawhidplugin.cpp @@ -83,7 +83,7 @@ void RawHIDEnumerationThread::run() // update available devices every second (doesn't need more) if (m_rawhid) { -// if (!m_rawhid->deviceOpened()) // this was stopping us getting enumerations changes fed back + if (!m_rawhid->deviceOpened()) // this was stopping us getting enumerations changes fed back { if (++counter >= 100) {