mirror of https://github.com/ArduPilot/ardupilot
AP_NavEKF2: Fix indent
This commit is contained in:
parent
fc18ee91df
commit
11a0fef3d0
|
@ -987,7 +987,7 @@ void NavEKF2_core::selectHeightForFusion()
|
||||||
baroDataToFuse = storedBaro.recall(baroDataDelayed, imuDataDelayed.time_ms);
|
baroDataToFuse = storedBaro.recall(baroDataDelayed, imuDataDelayed.time_ms);
|
||||||
|
|
||||||
// select height source
|
// select height source
|
||||||
if (extNavUsedForPos) {
|
if (extNavUsedForPos) {
|
||||||
// always use external navigation as the height source if using for position.
|
// always use external navigation as the height source if using for position.
|
||||||
activeHgtSource = HGT_SOURCE_EXTNAV;
|
activeHgtSource = HGT_SOURCE_EXTNAV;
|
||||||
} else if ((frontend->_altSource == 1) && _rng && (imuSampleTime_ms - rngValidMeaTime_ms < 500)) {
|
} else if ((frontend->_altSource == 1) && _rng && (imuSampleTime_ms - rngValidMeaTime_ms < 500)) {
|
||||||
|
|
Loading…
Reference in New Issue