From 1331e6ca1469b4d51296892edab92e22c2c6e80c Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Mon, 29 Jan 2018 10:03:36 +1100 Subject: [PATCH] AP_Soaring: const some accessors --- libraries/AP_Soaring/AP_Soaring.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }