AP_VisualOdom: 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:53 +10:00 committed by Peter Barker
parent 3999d454e1
commit b1066bb9e7
1 changed files with 1 additions and 1 deletions

View File

@ -3,5 +3,5 @@
#include <AP_HAL/AP_HAL_Boards.h> #include <AP_HAL/AP_HAL_Boards.h>
#ifndef HAL_VISUALODOM_ENABLED #ifndef HAL_VISUALODOM_ENABLED
#define HAL_VISUALODOM_ENABLED (!HAL_MINIMIZE_FEATURES && BOARD_FLASH_SIZE > 1024) #define HAL_VISUALODOM_ENABLED BOARD_FLASH_SIZE > 1024
#endif #endif