mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AP_ExternalAHRS: 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
4c5220eb9e
commit
de7d5c6899
@ -3,5 +3,5 @@
|
|||||||
#include <AP_HAL/AP_HAL_Boards.h>
|
#include <AP_HAL/AP_HAL_Boards.h>
|
||||||
|
|
||||||
#ifndef HAL_EXTERNAL_AHRS_ENABLED
|
#ifndef HAL_EXTERNAL_AHRS_ENABLED
|
||||||
#define HAL_EXTERNAL_AHRS_ENABLED !HAL_MINIMIZE_FEATURES && BOARD_FLASH_SIZE > 1024
|
#define HAL_EXTERNAL_AHRS_ENABLED BOARD_FLASH_SIZE > 1024
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user