Copter: Update AP_Notify of GCS failsafe

This commit is contained in:
Matt Lawrence 2020-01-07 14:55:51 -05:00 committed by Randy Mackay
parent 3d14e33e10
commit 83e05303be
1 changed files with 3 additions and 0 deletions

View File

@ -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;
}
// ---------------------------------------------