AP_Terrain: rename HAL_MISSION_ENABLED to AP_MISSION_ENABLED

This commit is contained in:
Peter Barker 2022-08-15 09:08:16 +10:00 committed by Peter Barker
parent f9b409ce01
commit 1e8e100409

View File

@ -35,7 +35,7 @@ extern const AP_HAL::HAL& hal;
*/ */
void AP_Terrain::update_mission_data(void) void AP_Terrain::update_mission_data(void)
{ {
#if HAL_MISSION_ENABLED #if AP_MISSION_ENABLED
const AP_Mission *mission = AP::mission(); const AP_Mission *mission = AP::mission();
if (mission == nullptr) { if (mission == nullptr) {
return; return;
@ -112,7 +112,7 @@ void AP_Terrain::update_mission_data(void)
next_mission_pos = 0; next_mission_pos = 0;
} }
} }
#endif // HAL_MISSION_ENABLED #endif // AP_MISSION_ENABLED
} }
/* /*