From c1a070371ec2f9c4819b51ff5d280d9aaca60e23 Mon Sep 17 00:00:00 2001 From: Matt Lawrence Date: Tue, 7 Jan 2020 14:55:51 -0500 Subject: [PATCH] Copter: Update AP_Notify of GCS failsafe --- ArduCopter/AP_State.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ArduCopter/AP_State.cpp b/ArduCopter/AP_State.cpp index 4b8d6814b3..e5960a9c5c 100644 --- a/ArduCopter/AP_State.cpp +++ b/ArduCopter/AP_State.cpp @@ -74,6 +74,9 @@ void Copter::set_failsafe_radio(bool b) void Copter::set_failsafe_gcs(bool b) { failsafe.gcs = b; + + // update AP_Notify + AP_Notify::flags.failsafe_gcs = b; } // ---------------------------------------------