mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AP_Terrain: rename HAL_MISSION_ENABLED to AP_MISSION_ENABLED
This commit is contained in:
parent
f9b409ce01
commit
1e8e100409
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user