1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-31 16:52:10 +01:00

OP-1777 Fixed a compiler error.

This commit is contained in:
m_thread 2015-03-13 07:21:27 +01:00
parent daad175c52
commit 0a87b30572

View File

@ -172,10 +172,10 @@ void UsageTrackerPlugin::collectUsageParameters(QMap<QString, QString> &paramete
ManualControlSettings *controlSettings = ManualControlSettings::GetInstance(objManager); ManualControlSettings *controlSettings = ManualControlSettings::GetInstance(objManager);
parameters["settings_receiver"] = controlSettings->getField("ChannelGroups")->getValue(ManualControlSettings::CHANNELGROUPS_THROTTLE).toString(); parameters["settings_receiver"] = controlSettings->getField("ChannelGroups")->getValue(ManualControlSettings::CHANNELGROUPS_THROTTLE).toString();
RevoSettings revoSettings = RevoSettings::GetInstance(objManager); RevoSettings *revoSettings = RevoSettings::GetInstance(objManager);
// Only get this info if uavo is known by controller // Only get this info if uavo is known by controller
if (revoSettings.isKnown()) { if (revoSettings->isKnown()) {
parameters["settings_fusion"] = revoSettings.getField("FusionAlgorithm")->getValue().toString(); parameters["settings_fusion"] = revoSettings->getField("FusionAlgorithm")->getValue().toString();
} }
} }
} }