mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-28 03:43:35 +08:00
Rename mag ambiguous mag abbreviations with magnitude
This commit is contained in:
committed by
Paul Riseborough
parent
a24aaad861
commit
1c68709949
+2
-2
@@ -165,7 +165,7 @@ void Ekf::runInAirYawReset()
|
||||
}
|
||||
|
||||
bool Ekf::canRealignYawUsingGps() const
|
||||
{
|
||||
{
|
||||
return _control_status.flags.fixed_wing;
|
||||
}
|
||||
|
||||
@@ -256,7 +256,7 @@ void Ekf::checkMagDeclRequired()
|
||||
void Ekf::checkMagInhibition()
|
||||
{
|
||||
_mag_use_inhibit = shouldInhibitMag();
|
||||
if (!_mag_use_inhibit) {
|
||||
if (!_mag_use_inhibit) {
|
||||
_mag_use_not_inhibit_us = _imu_sample_delayed.time_us;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user