From a8cc071d627a4d1d80069e9aa0a6af72ad1f4ada Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Sun, 22 Sep 2024 22:16:21 +1000 Subject: [PATCH] AP_Filesystem: rearrange to put mission filesystem last We're developing loops in our config files, move include to after base FILESYSTEM_READING/FILESYSTEM_WRITING defines --- libraries/AP_Filesystem/AP_Filesystem_config.h | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/libraries/AP_Filesystem/AP_Filesystem_config.h b/libraries/AP_Filesystem/AP_Filesystem_config.h index 93e307ed7e..a23b1f2c1b 100644 --- a/libraries/AP_Filesystem/AP_Filesystem_config.h +++ b/libraries/AP_Filesystem/AP_Filesystem_config.h @@ -2,8 +2,6 @@ #include -#include - // backends: #ifndef AP_FILESYSTEM_ESP32_ENABLED @@ -14,10 +12,6 @@ #define AP_FILESYSTEM_FATFS_ENABLED HAL_OS_FATFS_IO #endif -#ifndef AP_FILESYSTEM_MISSION_ENABLED -#define AP_FILESYSTEM_MISSION_ENABLED AP_MISSION_ENABLED -#endif - #ifndef AP_FILESYSTEM_PARAM_ENABLED #define AP_FILESYSTEM_PARAM_ENABLED 1 #endif @@ -62,3 +56,8 @@ #ifndef AP_FILESYSTEM_HAVE_DIRENT_DTYPE #define AP_FILESYSTEM_HAVE_DIRENT_DTYPE 1 #endif + +#ifndef AP_FILESYSTEM_MISSION_ENABLED +#include +#define AP_FILESYSTEM_MISSION_ENABLED AP_MISSION_ENABLED +#endif