AP_Filesystem: fold AP_Filesystem_Available.h into AP_Filesystem_config.h

This commit is contained in:
Peter Barker 2022-09-14 20:06:39 +10:00 committed by Peter Barker
parent 51e51bfe6f
commit c6989ed710
3 changed files with 8 additions and 2 deletions

View File

@ -22,7 +22,7 @@
#include <stdint.h>
#include <AP_HAL/AP_HAL_Boards.h>
#include "AP_Filesystem_Available.h"
#include "AP_Filesystem_config.h"
#ifndef MAX_NAME_LEN
#define MAX_NAME_LEN 255

View File

@ -20,7 +20,7 @@
#include <stdint.h>
#include <AP_HAL/AP_HAL_Boards.h>
#include "AP_Filesystem_Available.h"
#include "AP_Filesystem_config.h"
#include <AP_InternalError/AP_InternalError.h>

View File

@ -4,6 +4,12 @@
#include <AP_Mission/AP_Mission_config.h>
#if HAL_OS_POSIX_IO || HAL_OS_FATFS_IO
#define HAVE_FILESYSTEM_SUPPORT 1
#else
#define HAVE_FILESYSTEM_SUPPORT 0
#endif
#ifndef AP_FILESYSTEM_PARAM_ENABLED
#define AP_FILESYSTEM_PARAM_ENABLED 1
#endif