From 6709c6d72d999863572d5581058d8a35d6734e3b Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Tue, 9 Aug 2022 14:35:57 +1000 Subject: [PATCH] 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. --- libraries/AP_Arming/AP_Arming.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_Arming/AP_Arming.cpp b/libraries/AP_Arming/AP_Arming.cpp index 7ac55eefe9..34fb4a9c8e 100644 --- a/libraries/AP_Arming/AP_Arming.cpp +++ b/libraries/AP_Arming/AP_Arming.cpp @@ -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;