AP_Filesystem: 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 5ff268fa97
commit 936fef11e2
2 changed files with 3 additions and 3 deletions

View File

@ -49,7 +49,7 @@ static AP_Filesystem_Param fs_param;
static AP_Filesystem_Sys fs_sys; static AP_Filesystem_Sys fs_sys;
#include <AP_Mission/AP_Mission.h> #include <AP_Mission/AP_Mission.h>
#if HAL_MISSION_ENABLED #if AP_MISSION_ENABLED
#include "AP_Filesystem_Mission.h" #include "AP_Filesystem_Mission.h"
static AP_Filesystem_Mission fs_mission; static AP_Filesystem_Mission fs_mission;
#endif #endif
@ -65,7 +65,7 @@ const AP_Filesystem::Backend AP_Filesystem::backends[] = {
{ "@PARAM/", fs_param }, { "@PARAM/", fs_param },
{ "@SYS/", fs_sys }, { "@SYS/", fs_sys },
{ "@SYS", fs_sys }, { "@SYS", fs_sys },
#if HAL_MISSION_ENABLED #if AP_MISSION_ENABLED
{ "@MISSION/", fs_mission }, { "@MISSION/", fs_mission },
#endif #endif
}; };

View File

@ -23,7 +23,7 @@
#include <GCS_MAVLink/MissionItemProtocol_Rally.h> #include <GCS_MAVLink/MissionItemProtocol_Rally.h>
#include <GCS_MAVLink/MissionItemProtocol_Fence.h> #include <GCS_MAVLink/MissionItemProtocol_Fence.h>
#if HAL_MISSION_ENABLED #if AP_MISSION_ENABLED
extern const AP_HAL::HAL& hal; extern const AP_HAL::HAL& hal;
extern int errno; extern int errno;