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:
parent
daad175c52
commit
0a87b30572
@ -172,10 +172,10 @@ void UsageTrackerPlugin::collectUsageParameters(QMap<QString, QString> ¶mete
|
|||||||
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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user