AP_Module: rename for AHRS restructuring

This commit is contained in:
Peter Barker 2021-07-20 22:16:30 +10:00 committed by Peter Barker
parent b1bd699a73
commit da11b6be77
2 changed files with 2 additions and 2 deletions

View File

@ -135,7 +135,7 @@ void AP_Module::call_hook_setup_complete(void)
/* /*
call any AHRS_update hooks 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 AP_MODULE_SUPPORTED
if (hooks[HOOK_AHRS_UPDATE] == nullptr) { if (hooks[HOOK_AHRS_UPDATE] == nullptr) {

View File

@ -50,7 +50,7 @@ public:
static void call_hook_setup_complete(void); static void call_hook_setup_complete(void);
// call any AHRS_update hooks // 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 // call any gyro_sample hooks
static void call_hook_gyro_sample(uint8_t instance, float dt, const Vector3f &gyro); static void call_hook_gyro_sample(uint8_t instance, float dt, const Vector3f &gyro);