Rover: fill Notify flag for flying

This commit is contained in:
Peter Barker 2019-03-01 17:33:00 +11:00 committed by Peter Barker
parent d58a15ca32
commit 7d2138bed9
1 changed files with 1 additions and 0 deletions

View File

@ -269,6 +269,7 @@ void Rover::one_second_loop(void)
AP_Notify::flags.pre_arm_check = arming.pre_arm_checks(false);
AP_Notify::flags.pre_arm_gps_check = true;
AP_Notify::flags.armed = arming.is_armed() || arming.arming_required() == AP_Arming::Required::NO;
AP_Notify::flags.flying = hal.util->get_soft_armed();
// cope with changes to mavlink system ID
mavlink_system.sysid = g.sysid_this_mav;