AP_AHRS: fixed warning on WARN_IF_UNUSED

This commit is contained in:
Andrew Tridgell 2019-03-19 12:10:07 +11:00
parent 5eb9622105
commit 6622a4579e
1 changed files with 1 additions and 1 deletions

View File

@ -364,7 +364,7 @@ public:
// return a Down position relative to home in meters
// if EKF is unavailable will return the baro altitude
virtual void get_relative_position_D_home(float &posD) const WARN_IF_UNUSED = 0;
virtual void get_relative_position_D_home(float &posD) const = 0;
// return a Down position relative to origin in meters
// Return true if estimate is valid