AP_Mission: 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 bf5817e108
commit f9b409ce01
3 changed files with 5 additions and 5 deletions

View File

@ -14,8 +14,8 @@
#include <AP_HAL/AP_HAL.h>
#ifndef HAL_MISSION_ENABLED
#define HAL_MISSION_ENABLED 1
#ifndef AP_MISSION_ENABLED
#define AP_MISSION_ENABLED 1
#endif
#include <GCS_MAVLink/GCS_MAVLink.h>

View File

@ -3,7 +3,7 @@
#include "AP_Mission_ChangeDetector.h"
#if HAL_MISSION_ENABLED
#if AP_MISSION_ENABLED
// detect external changes to mission
bool AP_Mission_ChangeDetector::check_for_mission_change()

View File

@ -14,7 +14,7 @@
#include "AP_Mission.h"
#if HAL_MISSION_ENABLED
#if AP_MISSION_ENABLED
/// @class AP_Mission_ChangeDetector
/// @brief Mission command change detector
@ -38,4 +38,4 @@ private:
} mis_change_detect;
};
#endif // HAL_MISSION_ENABLED
#endif // AP_MISSION_ENABLED