AP_VisualOdom: do not build on 1MB boards

master: bin/arduplane  978396  1956  129204  1109556
new   : bin/arduplane  971716  1956  129204  1102876
This commit is contained in:
Peter Barker 2021-06-09 18:12:11 +10:00 committed by Randy Mackay
parent 63b8733aab
commit 6a914ce4be

View File

@ -18,7 +18,7 @@
#include <AP_Vehicle/AP_Vehicle_Type.h>
#ifndef HAL_VISUALODOM_ENABLED
#define HAL_VISUALODOM_ENABLED !HAL_MINIMIZE_FEATURES
#define HAL_VISUALODOM_ENABLED (!HAL_MINIMIZE_FEATURES && BOARD_FLASH_SIZE > 1024)
#endif
#if HAL_VISUALODOM_ENABLED