1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-03-15 07:29:15 +01:00

Serial plugin: small change to wait long enough for the Unix serial polling thread to exit - removes one warning on the logger.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2322 ebee16cc-31ac-478f-84a7-5cbb03baadba
This commit is contained in:
edouard 2011-01-02 22:22:28 +00:00 committed by edouard
parent 6091f0be63
commit 82f092f115

View File

@ -47,7 +47,7 @@ SerialEnumerationThread::~SerialEnumerationThread()
{
m_running = false;
//wait for the thread to terminate
if(wait(1000) == false)
if(wait(2100) == false)
qDebug() << "Cannot terminate SerialEnumerationThread";
}