mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-11 02:18:29 -04:00
AP_Common: removed terrain home correction
This commit is contained in:
parent
fc7a8a1a19
commit
ad0f2a39ff
@ -140,7 +140,7 @@ bool Location::get_alt_cm(AltFrame desired_frame, int32_t &ret_alt_cm) const
|
|||||||
if (terrain == nullptr) {
|
if (terrain == nullptr) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (!terrain->height_amsl(*this, alt_terr_cm, true)) {
|
if (!terrain->height_amsl(*this, alt_terr_cm)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
// convert terrain alt to cm
|
// convert terrain alt to cm
|
||||||
|
Loading…
Reference in New Issue
Block a user