mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AP_ADSB: 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
779a5d1167
commit
7bbeab7aaa
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
|
|
||||||
#ifndef HAL_ADSB_ENABLED
|
#ifndef HAL_ADSB_ENABLED
|
||||||
#define HAL_ADSB_ENABLED !HAL_MINIMIZE_FEATURES && BOARD_FLASH_SIZE > 1024
|
#define HAL_ADSB_ENABLED BOARD_FLASH_SIZE > 1024
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef HAL_ADSB_UAVIONIX_MAVLINK_ENABLED
|
#ifndef HAL_ADSB_UAVIONIX_MAVLINK_ENABLED
|
||||||
|
Loading…
Reference in New Issue
Block a user