From 189712830cc35ed52116f3ff127938946525dcd3 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Mon, 15 May 2023 11:44:22 +1000 Subject: [PATCH] AP_BoardConfig: replace HAVE_FILESYSTEM_SUPPORT with backend defines --- libraries/AP_BoardConfig/AP_BoardConfig_config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_BoardConfig/AP_BoardConfig_config.h b/libraries/AP_BoardConfig/AP_BoardConfig_config.h index 95c4092eb9..c85f95439a 100644 --- a/libraries/AP_BoardConfig/AP_BoardConfig_config.h +++ b/libraries/AP_BoardConfig/AP_BoardConfig_config.h @@ -33,5 +33,5 @@ #endif #ifndef AP_SDCARD_STORAGE_ENABLED -#define AP_SDCARD_STORAGE_ENABLED (HAL_MEM_CLASS >= HAL_MEM_CLASS_1000) && HAVE_FILESYSTEM_SUPPORT && BOARD_FLASH_SIZE > 1024 +#define AP_SDCARD_STORAGE_ENABLED (HAL_MEM_CLASS >= HAL_MEM_CLASS_1000) && (AP_FILESYSTEM_POSIX_ENABLED || AP_FILESYSTEM_FATFS_ENABLED) && BOARD_FLASH_SIZE > 1024 #endif