mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-21 15:23:57 -04:00
AP_EFI: 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
e363d6dfa5
commit
4c5220eb9e
@ -4,7 +4,7 @@
|
||||
#include <AP_CANManager/AP_CANSensor.h>
|
||||
|
||||
#ifndef HAL_EFI_ENABLED
|
||||
#define HAL_EFI_ENABLED !HAL_MINIMIZE_FEATURES && BOARD_FLASH_SIZE > 1024
|
||||
#define HAL_EFI_ENABLED BOARD_FLASH_SIZE > 1024
|
||||
#endif
|
||||
|
||||
#ifndef AP_EFI_BACKEND_DEFAULT_ENABLED
|
||||
|
Loading…
Reference in New Issue
Block a user