mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-02-06 21:54:15 +01:00
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
This commit is contained in:
parent
dc9efb4d55
commit
b4cacbcf76
@ -83,7 +83,7 @@ void RawHIDEnumerationThread::run()
|
|||||||
// update available devices every second (doesn't need more)
|
// update available devices every second (doesn't need more)
|
||||||
if (m_rawhid)
|
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)
|
if (++counter >= 100)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user