From 69d7843f22d40189eb3b066620edc176d34115c5 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Fri, 14 Apr 2023 13:47:52 +1000 Subject: [PATCH] AP_Mount: don't check MINIMIZE_FEATURES when also checking BOARD_FLASH_SIZE we have an assertion that no board with >1MB of flash is minimized --- libraries/AP_Mount/AP_Mount_config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_Mount/AP_Mount_config.h b/libraries/AP_Mount/AP_Mount_config.h index e4a2cb05f3..09d0ecd54d 100644 --- a/libraries/AP_Mount/AP_Mount_config.h +++ b/libraries/AP_Mount/AP_Mount_config.h @@ -13,7 +13,7 @@ #endif #ifndef HAL_MOUNT_GREMSY_ENABLED -#define HAL_MOUNT_GREMSY_ENABLED AP_MOUNT_BACKEND_DEFAULT_ENABLED && (!HAL_MINIMIZE_FEATURES && BOARD_FLASH_SIZE > 1024) +#define HAL_MOUNT_GREMSY_ENABLED AP_MOUNT_BACKEND_DEFAULT_ENABLED && BOARD_FLASH_SIZE > 1024 #endif #ifndef HAL_MOUNT_SCRIPTING_ENABLED