Browse Source

Copter: Update AP_Notify of GCS failsafe

celiu-4.0.17-rc8
Matt Lawrence 5 years ago committed by Randy Mackay
parent
commit
83e05303be
  1. 3
      ArduCopter/AP_State.cpp

3
ArduCopter/AP_State.cpp

@ -74,6 +74,9 @@ void Copter::set_failsafe_radio(bool b) @@ -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;
}
// ---------------------------------------------

Loading…
Cancel
Save