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
This commit is contained in:
Peter Barker 2023-04-14 13:47:52 +10:00 committed by Peter Barker
parent 6e1cd839d8
commit 69d7843f22

View File

@ -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