mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-12-01 09:24:10 +01:00
OP-1624 Use Aux Mag only on V9, commiting from Fredrik A
This commit is contained in:
parent
651ce7849a
commit
3957240106
@ -235,7 +235,7 @@ void VehicleConfigurationHelper::applyHardwareConfiguration()
|
|||||||
AuxMagSettings *magSettings = AuxMagSettings::GetInstance(m_uavoManager);
|
AuxMagSettings *magSettings = AuxMagSettings::GetInstance(m_uavoManager);
|
||||||
Q_ASSERT(magSettings);
|
Q_ASSERT(magSettings);
|
||||||
AuxMagSettings::DataFields magsData = magSettings->getData();
|
AuxMagSettings::DataFields magsData = magSettings->getData();
|
||||||
magsData.Usage = AuxMagSettings::USAGE_BOTH;
|
magsData.Usage = AuxMagSettings::USAGE_AUXONLY;
|
||||||
magSettings->setData(magsData);
|
magSettings->setData(magsData);
|
||||||
addModifiedObject(magSettings, tr("Writing External Mag sensor settings"));
|
addModifiedObject(magSettings, tr("Writing External Mag sensor settings"));
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user