AP_Arming: rename contains_terrain_relative->contains_terrain_alt_items

can we rename "constains_terrain_relative" to "contains_terrain_alt"? No big deal of course but "terrain_alt" is what we use in Copter so it's more likely to show up in searches.
This commit is contained in:
Peter Barker 2022-08-09 14:35:57 +10:00 committed by Peter Barker
parent 1c7e2f5094
commit 6709c6d72d

View File

@ -1027,7 +1027,7 @@ bool AP_Arming::terrain_database_required() const
// no mission support?
return false;
}
if (mission->contains_terrain_relative()) {
if (mission->contains_terrain_alt_items()) {
return true;
}
return false;