diff --git a/libraries/AP_Soaring/AP_Soaring.h b/libraries/AP_Soaring/AP_Soaring.h index 11b43b1a15..63ad1b7788 100644 --- a/libraries/AP_Soaring/AP_Soaring.h +++ b/libraries/AP_Soaring/AP_Soaring.h @@ -90,7 +90,7 @@ public: { _throttle_suppressed = suppressed; } - float get_vario_reading() + float get_vario_reading() const { return _vario.displayed_reading; }