mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-03-11 17:13:56 -03:00
AP_AHRS: add and use AP_AHRS_ENABLED
This commit is contained in:
parent
07bf38d7f8
commit
be392b1c5b
@ -2,6 +2,10 @@
|
||||
|
||||
#include <AP_HAL/AP_HAL_Boards.h>
|
||||
|
||||
#ifndef AP_AHRS_ENABLED
|
||||
#define AP_AHRS_ENABLED 1
|
||||
#endif
|
||||
|
||||
#ifndef HAL_NAVEKF2_AVAILABLE
|
||||
// only default to EK2 enabled on boards with over 1M flash
|
||||
#define HAL_NAVEKF2_AVAILABLE (BOARD_FLASH_SIZE>1024)
|
||||
|
Loading…
Reference in New Issue
Block a user