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
This commit is contained in:
Peter Barker 2024-09-22 22:16:21 +10:00 committed by Andrew Tridgell
parent ee830355d2
commit a8cc071d62
1 changed files with 5 additions and 6 deletions

View File

@ -2,8 +2,6 @@
#include <AP_HAL/AP_HAL_Boards.h> #include <AP_HAL/AP_HAL_Boards.h>
#include <AP_Mission/AP_Mission_config.h>
// backends: // backends:
#ifndef AP_FILESYSTEM_ESP32_ENABLED #ifndef AP_FILESYSTEM_ESP32_ENABLED
@ -14,10 +12,6 @@
#define AP_FILESYSTEM_FATFS_ENABLED HAL_OS_FATFS_IO #define AP_FILESYSTEM_FATFS_ENABLED HAL_OS_FATFS_IO
#endif #endif
#ifndef AP_FILESYSTEM_MISSION_ENABLED
#define AP_FILESYSTEM_MISSION_ENABLED AP_MISSION_ENABLED
#endif
#ifndef AP_FILESYSTEM_PARAM_ENABLED #ifndef AP_FILESYSTEM_PARAM_ENABLED
#define AP_FILESYSTEM_PARAM_ENABLED 1 #define AP_FILESYSTEM_PARAM_ENABLED 1
#endif #endif
@ -62,3 +56,8 @@
#ifndef AP_FILESYSTEM_HAVE_DIRENT_DTYPE #ifndef AP_FILESYSTEM_HAVE_DIRENT_DTYPE
#define AP_FILESYSTEM_HAVE_DIRENT_DTYPE 1 #define AP_FILESYSTEM_HAVE_DIRENT_DTYPE 1
#endif #endif
#ifndef AP_FILESYSTEM_MISSION_ENABLED
#include <AP_Mission/AP_Mission_config.h>
#define AP_FILESYSTEM_MISSION_ENABLED AP_MISSION_ENABLED
#endif