From 91d33c885e88bedcec8726291157580583995974 Mon Sep 17 00:00:00 2001 From: Randy Mackay Date: Tue, 14 Jun 2022 12:29:33 +0900 Subject: [PATCH] AP_Volz: disable with minmimize features --- libraries/AP_Volz_Protocol/AP_Volz_Protocol.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_Volz_Protocol/AP_Volz_Protocol.h b/libraries/AP_Volz_Protocol/AP_Volz_Protocol.h index 017d8fc726..2f2e1e1f98 100644 --- a/libraries/AP_Volz_Protocol/AP_Volz_Protocol.h +++ b/libraries/AP_Volz_Protocol/AP_Volz_Protocol.h @@ -36,7 +36,7 @@ #include #ifndef AP_VOLZ_ENABLED -#define AP_VOLZ_ENABLED 1 +#define AP_VOLZ_ENABLED (!HAL_MINIMIZE_FEATURES && BOARD_FLASH_SIZE > 1024) #endif #if AP_VOLZ_ENABLED