AP_Common: removed terrain home correction

This commit is contained in:
Andrew Tridgell 2022-01-31 15:35:06 +11:00
parent 38662b98d8
commit 6dc843b341
1 changed files with 1 additions and 1 deletions

View File

@ -140,7 +140,7 @@ bool Location::get_alt_cm(AltFrame desired_frame, int32_t &ret_alt_cm) const
if (terrain == nullptr) {
return false;
}
if (!terrain->height_amsl(*this, alt_terr_cm, true)) {
if (!terrain->height_amsl(*this, alt_terr_cm)) {
return false;
}
// convert terrain alt to cm