mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AP_AHRS: disable EKF2 by default on 1M boards
This commit is contained in:
parent
61d036acf3
commit
8868ac2d6f
@ -24,7 +24,8 @@
|
||||
#include <AP_HAL/AP_HAL.h>
|
||||
|
||||
#ifndef HAL_NAVEKF2_AVAILABLE
|
||||
#define HAL_NAVEKF2_AVAILABLE 1
|
||||
// only default to EK2 enabled on boards with over 1M flash
|
||||
#define HAL_NAVEKF2_AVAILABLE (BOARD_FLASH_SIZE>1024)
|
||||
#endif
|
||||
|
||||
#ifndef HAL_NAVEKF3_AVAILABLE
|
||||
|
Loading…
Reference in New Issue
Block a user