From d2278fb52576c852af35639696de3d8ce41813bf Mon Sep 17 00:00:00 2001 From: Pierre Kancir Date: Wed, 9 Jun 2021 12:30:38 +0200 Subject: [PATCH] AP_AHRS: NavEKF: make set_origin and get_origin WARN_IF_UNUSED as base class --- libraries/AP_AHRS/AP_AHRS_NavEKF.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/AP_AHRS/AP_AHRS_NavEKF.h b/libraries/AP_AHRS/AP_AHRS_NavEKF.h index a9fccdaa13..494b3828b7 100644 --- a/libraries/AP_AHRS/AP_AHRS_NavEKF.h +++ b/libraries/AP_AHRS/AP_AHRS_NavEKF.h @@ -151,10 +151,10 @@ public: // set the EKF's origin location in 10e7 degrees. This should only // be called when the EKF has no absolute position reference (i.e. GPS) // from which to decide the origin on its own - bool set_origin(const Location &loc) override; + bool set_origin(const Location &loc) override WARN_IF_UNUSED; // returns the inertial navigation origin in lat/lon/alt - bool get_origin(Location &ret) const override; + bool get_origin(Location &ret) const override WARN_IF_UNUSED; bool have_inertial_nav() const override;