Copter: fill Notify flag for flying
This commit is contained in:
parent
a36d2dd5b8
commit
3e0ec99100
@ -445,6 +445,8 @@ void Copter::one_hz_loop()
|
|||||||
adsb.set_is_flying(!ap.land_complete);
|
adsb.set_is_flying(!ap.land_complete);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
AP_Notify::flags.flying = !ap.land_complete;
|
||||||
|
|
||||||
// update error mask of sensors and subsystems. The mask uses the
|
// update error mask of sensors and subsystems. The mask uses the
|
||||||
// MAV_SYS_STATUS_* values from mavlink. If a bit is set then it
|
// MAV_SYS_STATUS_* values from mavlink. If a bit is set then it
|
||||||
// indicates that the sensor or subsystem is present but not
|
// indicates that the sensor or subsystem is present but not
|
||||||
|
Loading…
Reference in New Issue
Block a user