AP_NavEKF2: Fix indent

This commit is contained in:
Paul Riseborough 2020-05-16 12:05:29 +10:00 committed by Randy Mackay
parent fc18ee91df
commit 11a0fef3d0
1 changed files with 1 additions and 1 deletions

View File

@ -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)) {