AP_ExternalAHRS: specify AP_EXTERNALAHRS_ENABLED for periph in chibios_hwdef.py

This commit is contained in:
Peter Barker 2023-03-10 14:00:05 +11:00 committed by Peter Barker
parent 956b66f1f2
commit f476a47228
1 changed files with 1 additions and 1 deletions

View File

@ -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