mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 14:38:30 -04:00
Copter: Update AP_Notify of GCS failsafe
This commit is contained in:
parent
3af99115fb
commit
c7de86a241
@ -74,6 +74,9 @@ void Copter::set_failsafe_radio(bool b)
|
|||||||
void Copter::set_failsafe_gcs(bool b)
|
void Copter::set_failsafe_gcs(bool b)
|
||||||
{
|
{
|
||||||
failsafe.gcs = b;
|
failsafe.gcs = b;
|
||||||
|
|
||||||
|
// update AP_Notify
|
||||||
|
AP_Notify::flags.failsafe_gcs = b;
|
||||||
}
|
}
|
||||||
|
|
||||||
// ---------------------------------------------
|
// ---------------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user