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:
parent
1c7e2f5094
commit
6709c6d72d
@ -1027,7 +1027,7 @@ bool AP_Arming::terrain_database_required() const
|
|||||||
// no mission support?
|
// no mission support?
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (mission->contains_terrain_relative()) {
|
if (mission->contains_terrain_alt_items()) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user