mirror of https://github.com/ArduPilot/ardupilot
Copter: Update AP_Notify of GCS failsafe
This commit is contained in:
parent
3d14e33e10
commit
83e05303be
|
@ -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…
Reference in New Issue