From da11b6be771c7825a40af20d63c4499fd21e4e61 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Tue, 20 Jul 2021 22:16:30 +1000 Subject: [PATCH] AP_Module: rename for AHRS restructuring --- libraries/AP_Module/AP_Module.cpp | 2 +- libraries/AP_Module/AP_Module.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/AP_Module/AP_Module.cpp b/libraries/AP_Module/AP_Module.cpp index 725cacbcbf..cee66946a7 100644 --- a/libraries/AP_Module/AP_Module.cpp +++ b/libraries/AP_Module/AP_Module.cpp @@ -135,7 +135,7 @@ void AP_Module::call_hook_setup_complete(void) /* call any AHRS_update hooks */ -void AP_Module::call_hook_AHRS_update(const AP_AHRS_NavEKF &ahrs) +void AP_Module::call_hook_AHRS_update(const AP_AHRS &ahrs) { #if AP_MODULE_SUPPORTED if (hooks[HOOK_AHRS_UPDATE] == nullptr) { diff --git a/libraries/AP_Module/AP_Module.h b/libraries/AP_Module/AP_Module.h index bfb7c3d6f9..d7dae64e2b 100644 --- a/libraries/AP_Module/AP_Module.h +++ b/libraries/AP_Module/AP_Module.h @@ -50,7 +50,7 @@ public: static void call_hook_setup_complete(void); // call any AHRS_update hooks - static void call_hook_AHRS_update(const AP_AHRS_NavEKF &ahrs); + static void call_hook_AHRS_update(const AP_AHRS &ahrs); // call any gyro_sample hooks static void call_hook_gyro_sample(uint8_t instance, float dt, const Vector3f &gyro);