From bd4d711e7fcb05f779d1809d9aa6bfca8750055c Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Sun, 11 May 2025 22:53:39 +1000 Subject: [PATCH] AP_Module: rename HAL_EXTERNAL_AHRS_ENABLED to AP_EXTERNAL_AHRS_ENABLED in preparation for making this an optional feature; a lot of people will want to go and put this in their hwdef files as soon as we do this! --- libraries/AP_Module/examples/ModuleTest/ModuleTest.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/AP_Module/examples/ModuleTest/ModuleTest.cpp b/libraries/AP_Module/examples/ModuleTest/ModuleTest.cpp index 2fb6b3f5472..5d6a695b285 100644 --- a/libraries/AP_Module/examples/ModuleTest/ModuleTest.cpp +++ b/libraries/AP_Module/examples/ModuleTest/ModuleTest.cpp @@ -19,9 +19,9 @@ const AP_HAL::HAL& hal = AP_HAL::get_HAL(); // sensor declaration static AP_InertialSensor ins; -#if HAL_EXTERNAL_AHRS_ENABLED +#if AP_EXTERNAL_AHRS_ENABLED static AP_ExternalAHRS eAHRS; -#endif // HAL_EXTERNAL_AHRS_ENABLED +#endif // AP_EXTERNAL_AHRS_ENABLED static AP_GPS gps; static AP_Baro baro; static AP_SerialManager serial_manager;