mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-19 04:52:12 +01:00
OP-1777 Fixed a compiler error.
This commit is contained in:
parent
daad175c52
commit
0a87b30572
@ -172,10 +172,10 @@ void UsageTrackerPlugin::collectUsageParameters(QMap<QString, QString> ¶mete
|
||||
ManualControlSettings *controlSettings = ManualControlSettings::GetInstance(objManager);
|
||||
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
|
||||
if (revoSettings.isKnown()) {
|
||||
parameters["settings_fusion"] = revoSettings.getField("FusionAlgorithm")->getValue().toString();
|
||||
if (revoSettings->isKnown()) {
|
||||
parameters["settings_fusion"] = revoSettings->getField("FusionAlgorithm")->getValue().toString();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user