From 1eeea82e3159d10a8f0150baacd861ef291b9826 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20Jos=C3=A9=20Pereira?= Date: Wed, 26 Jul 2017 09:29:00 -0300 Subject: [PATCH] AP_Parachute: Add function to return _release_in_progress status MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Patrick José Pereira --- libraries/AP_Parachute/AP_Parachute.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libraries/AP_Parachute/AP_Parachute.h b/libraries/AP_Parachute/AP_Parachute.h index a015b2d53b..9d31e215b0 100644 --- a/libraries/AP_Parachute/AP_Parachute.h +++ b/libraries/AP_Parachute/AP_Parachute.h @@ -52,6 +52,9 @@ public: /// release_initiated - true if the parachute release sequence has been initiated (may wait before actual release) bool release_initiated() const { return _release_initiated; } + + /// release_in_progress - true if the parachute release sequence is in progress + bool release_in_progress() const { return _release_in_progress; } /// update - shuts off the trigger should be called at about 10hz void update();