mirror of https://github.com/ArduPilot/ardupilot
AP_ExternalAHRS: specify AP_EXTERNALAHRS_ENABLED for periph in chibios_hwdef.py
This commit is contained in:
parent
956b66f1f2
commit
f476a47228
|
@ -3,5 +3,5 @@
|
|||
#include <AP_HAL/AP_HAL_Boards.h>
|
||||
|
||||
#ifndef HAL_EXTERNAL_AHRS_ENABLED
|
||||
#define HAL_EXTERNAL_AHRS_ENABLED !HAL_MINIMIZE_FEATURES && !defined(HAL_BUILD_AP_PERIPH) && BOARD_FLASH_SIZE > 1024
|
||||
#define HAL_EXTERNAL_AHRS_ENABLED !HAL_MINIMIZE_FEATURES && BOARD_FLASH_SIZE > 1024
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue