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:
parent
6091f0be63
commit
82f092f115
@ -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";
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user