From 1e8e1004099e1d05ebbc98bfd89dc037e2b57333 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Mon, 15 Aug 2022 09:08:16 +1000 Subject: [PATCH] AP_Terrain: rename HAL_MISSION_ENABLED to AP_MISSION_ENABLED --- libraries/AP_Terrain/TerrainMission.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/AP_Terrain/TerrainMission.cpp b/libraries/AP_Terrain/TerrainMission.cpp index 40a23f865a..381bc6bc55 100644 --- a/libraries/AP_Terrain/TerrainMission.cpp +++ b/libraries/AP_Terrain/TerrainMission.cpp @@ -35,7 +35,7 @@ extern const AP_HAL::HAL& hal; */ void AP_Terrain::update_mission_data(void) { -#if HAL_MISSION_ENABLED +#if AP_MISSION_ENABLED const AP_Mission *mission = AP::mission(); if (mission == nullptr) { return; @@ -112,7 +112,7 @@ void AP_Terrain::update_mission_data(void) next_mission_pos = 0; } } -#endif // HAL_MISSION_ENABLED +#endif // AP_MISSION_ENABLED } /*