Copter: fill Notify flag for flying

This commit is contained in:
Peter Barker 2019-03-01 17:30:41 +11:00 committed by Peter Barker
parent a36d2dd5b8
commit 3e0ec99100
1 changed files with 2 additions and 0 deletions

View File

@ -445,6 +445,8 @@ void Copter::one_hz_loop()
adsb.set_is_flying(!ap.land_complete);
#endif
AP_Notify::flags.flying = !ap.land_complete;
// update error mask of sensors and subsystems. The mask uses the
// MAV_SYS_STATUS_* values from mavlink. If a bit is set then it
// indicates that the sensor or subsystem is present but not