Commit 85a1e606 authored by Lorenz Meier's avatar Lorenz Meier

proper spinning loop

parent f741140a
......@@ -144,7 +144,9 @@ void QGCXPlaneLink::setVersion(unsigned int version)
**/
void QGCXPlaneLink::run()
{
exec();
forever {
QGC::SLEEP::usleep(500000);
}
}
void QGCXPlaneLink::setPort(int localPort)
......
......@@ -69,7 +69,9 @@ UDPLink::~UDPLink()
**/
void UDPLink::run()
{
exec();
forever {
QGC::SLEEP::usleep(500000);
}
}
void UDPLink::setAddress(QHostAddress host)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment