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
1 changed files with 2 additions and 2 deletions

View File

@ -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
}
/*