From 3fea8d16f1040e7175e73d5698009f260e2eb379 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Thu, 3 Aug 2023 08:34:55 +1000 Subject: [PATCH] AP_HAL: remove MINIMIZE_FEATURES define --- libraries/AP_HAL/AP_HAL_Boards.h | 7 ------- 1 file changed, 7 deletions(-) diff --git a/libraries/AP_HAL/AP_HAL_Boards.h b/libraries/AP_HAL/AP_HAL_Boards.h index 38958a5f5e..370ccbb340 100644 --- a/libraries/AP_HAL/AP_HAL_Boards.h +++ b/libraries/AP_HAL/AP_HAL_Boards.h @@ -332,13 +332,6 @@ #endif -// sanity checks for the configuration. This can't test everything as -// the libraries can do their own definitions - but we can catch some -// things: -#if HAL_MINIMIZE_FEATURES && BOARD_FLASH_SIZE > 1024 -#error "2MB board with minimize features?!" -#endif - #ifndef HAL_ENABLE_SENDING_STATS #define HAL_ENABLE_SENDING_STATS BOARD_FLASH_SIZE >= 256 #endif