mirror of https://github.com/ArduPilot/ardupilot
AP_Volz_Protocol: 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:
parent
b1066bb9e7
commit
bddf0ae5a2
|
@ -36,7 +36,7 @@
|
||||||
#include <AP_HAL/AP_HAL_Boards.h>
|
#include <AP_HAL/AP_HAL_Boards.h>
|
||||||
|
|
||||||
#ifndef AP_VOLZ_ENABLED
|
#ifndef AP_VOLZ_ENABLED
|
||||||
#define AP_VOLZ_ENABLED (!HAL_MINIMIZE_FEATURES && BOARD_FLASH_SIZE > 1024)
|
#define AP_VOLZ_ENABLED BOARD_FLASH_SIZE > 1024
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if AP_VOLZ_ENABLED
|
#if AP_VOLZ_ENABLED
|
||||||
|
|
Loading…
Reference in New Issue