From 4c09960998e538e009dd162ae477645c1f7ccd0f Mon Sep 17 00:00:00 2001 From: muramura Date: Sun, 24 Sep 2023 18:01:06 +0900 Subject: [PATCH] AP_Parachute: Change to Boolean value --- libraries/AP_Parachute/AP_Parachute.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/AP_Parachute/AP_Parachute.cpp b/libraries/AP_Parachute/AP_Parachute.cpp index 213c804f939669..9b4075dc719642 100644 --- a/libraries/AP_Parachute/AP_Parachute.cpp +++ b/libraries/AP_Parachute/AP_Parachute.cpp @@ -114,7 +114,7 @@ void AP_Parachute::release() _release_initiated = true; // update AP_Notify - AP_Notify::flags.parachute_release = 1; + AP_Notify::flags.parachute_release = true; } /// update - shuts off the trigger should be called at about 10hz @@ -167,7 +167,7 @@ void AP_Parachute::update() _release_in_progress = false; _release_time = 0; // update AP_Notify - AP_Notify::flags.parachute_release = 0; + AP_Notify::flags.parachute_release = false; } }