mirror of https://github.com/ArduPilot/ardupilot
Rover: fill Notify flag for flying
This commit is contained in:
parent
d58a15ca32
commit
7d2138bed9
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue