From e8ed94344be8c706807d625c81ae839125d39cb4 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Mon, 15 May 2023 11:44:22 +1000 Subject: [PATCH] AP_Terrain: replace HAVE_FILESYSTEM_SUPPORT with backend defines --- libraries/AP_Terrain/AP_Terrain.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_Terrain/AP_Terrain.h b/libraries/AP_Terrain/AP_Terrain.h index c2919e4bea..0d907c5839 100644 --- a/libraries/AP_Terrain/AP_Terrain.h +++ b/libraries/AP_Terrain/AP_Terrain.h @@ -18,7 +18,7 @@ #include #ifndef AP_TERRAIN_AVAILABLE -#if HAVE_FILESYSTEM_SUPPORT && defined(HAL_BOARD_TERRAIN_DIRECTORY) +#if AP_FILESYSTEM_FILE_READING_ENABLED && defined(HAL_BOARD_TERRAIN_DIRECTORY) #define AP_TERRAIN_AVAILABLE 1 #else #define AP_TERRAIN_AVAILABLE 0