Commit 57c406a7 authored by Don Gagne's avatar Don Gagne

Fix unit tests

parent c39e9c7f
......@@ -234,6 +234,11 @@ bool GeoFenceManager::inProgress(void) const
bool GeoFenceManager::_geoFenceSupported(void)
{
// FIXME: MockLink doesn't support geo fence yet
if (qgcApp()->runningUnitTests()) {
return false;
}
// FIXME: Hack to get around lack of plugin-ized version of code
if (_vehicle->apmFirmware()) {
if (!_vehicle->parameterExists(FactSystem::defaultComponentId, _fenceTotalParam) ||
......
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