From 9df6beb181291b10dd6d1b96b2b1e04d16392b67 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Tue, 16 Apr 2024 21:40:55 +1000 Subject: [PATCH] AP_AHRS: add and use AP_HOME_ENABLED --- libraries/AP_AHRS/AP_AHRS_config.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libraries/AP_AHRS/AP_AHRS_config.h b/libraries/AP_AHRS/AP_AHRS_config.h index 3b27e78606..b0535c1f2e 100644 --- a/libraries/AP_AHRS/AP_AHRS_config.h +++ b/libraries/AP_AHRS/AP_AHRS_config.h @@ -8,6 +8,10 @@ #define AP_AHRS_ENABLED 1 #endif +#ifndef AP_HOME_ENABLED +#define AP_HOME_ENABLED AP_AHRS_ENABLED +#endif + #ifndef AP_AHRS_BACKEND_DEFAULT_ENABLED #define AP_AHRS_BACKEND_DEFAULT_ENABLED AP_AHRS_ENABLED #endif