From 875f3f7d9791dfb440c6efa51d7a1ee519971751 Mon Sep 17 00:00:00 2001 From: Henry Wurzburg Date: Wed, 30 Mar 2022 08:12:36 -0500 Subject: [PATCH] Blimp: add temporary GCS FS behavior of disarming Blimp --- Blimp/events.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Blimp/events.cpp b/Blimp/events.cpp index 7c3c5577a6..b3856bc960 100644 --- a/Blimp/events.cpp +++ b/Blimp/events.cpp @@ -120,7 +120,7 @@ void Blimp::failsafe_gcs_check() } else if (last_gcs_update_ms > gcs_timeout_ms && !failsafe.gcs) { // New GCS failsafe event, trigger events set_failsafe_gcs(true); - // failsafe_gcs_on_event(); + arming.disarm(AP_Arming::Method::GCSFAILSAFE); // failsafe_gcs_on_event() should replace this when written } } @@ -174,4 +174,4 @@ void Blimp::gpsglitch_check() gcs().send_text(MAV_SEVERITY_CRITICAL,"GPS Glitch cleared"); } } -} \ No newline at end of file +}