Commit 671da5a2 authored by Don Gagne's avatar Don Gagne

MockLink always added in debug builds

parent 0306941d
......@@ -409,6 +409,15 @@ void LinkManager::loadLinkConfigurationList()
}
emit linkConfigurationChanged();
}
// Debug buids always add MockLink automatically
#ifdef QT_DEBUG
MockConfiguration* pMock = new MockConfiguration("Mock Link");
pMock->setDynamic(true);
addLinkConfiguration(pMock);
emit linkConfigurationChanged();
#endif
// Enable automatic PX4 hunting
_configurationsLoaded = true;
}
......
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