From 936fef11e2ddef6fefd139213872ec590905961d Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Mon, 15 Aug 2022 09:08:16 +1000 Subject: [PATCH] AP_Filesystem: rename HAL_MISSION_ENABLED to AP_MISSION_ENABLED --- libraries/AP_Filesystem/AP_Filesystem.cpp | 4 ++-- libraries/AP_Filesystem/AP_Filesystem_Mission.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libraries/AP_Filesystem/AP_Filesystem.cpp b/libraries/AP_Filesystem/AP_Filesystem.cpp index 2d677bef8d..2227242de5 100644 --- a/libraries/AP_Filesystem/AP_Filesystem.cpp +++ b/libraries/AP_Filesystem/AP_Filesystem.cpp @@ -49,7 +49,7 @@ static AP_Filesystem_Param fs_param; static AP_Filesystem_Sys fs_sys; #include -#if HAL_MISSION_ENABLED +#if AP_MISSION_ENABLED #include "AP_Filesystem_Mission.h" static AP_Filesystem_Mission fs_mission; #endif @@ -65,7 +65,7 @@ const AP_Filesystem::Backend AP_Filesystem::backends[] = { { "@PARAM/", fs_param }, { "@SYS/", fs_sys }, { "@SYS", fs_sys }, -#if HAL_MISSION_ENABLED +#if AP_MISSION_ENABLED { "@MISSION/", fs_mission }, #endif }; diff --git a/libraries/AP_Filesystem/AP_Filesystem_Mission.cpp b/libraries/AP_Filesystem/AP_Filesystem_Mission.cpp index 82ba9b98e9..6bbc33aa2c 100644 --- a/libraries/AP_Filesystem/AP_Filesystem_Mission.cpp +++ b/libraries/AP_Filesystem/AP_Filesystem_Mission.cpp @@ -23,7 +23,7 @@ #include #include -#if HAL_MISSION_ENABLED +#if AP_MISSION_ENABLED extern const AP_HAL::HAL& hal; extern int errno;