mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-23 22:58:10 +08:00
Added status_change to force message updating.
Signed-off-by: Claudio Micheli <claudio@auterion.com>
This commit is contained in:
committed by
Julian Oes
parent
107746ded5
commit
977a4c8e9b
@@ -3988,6 +3988,7 @@ void Commander::data_link_check(bool &status_changed)
|
||||
if (_datalink_last_status_avoidance_system == telemetry_status_s::MAV_STATE_FLIGHT_TERMINATION) {
|
||||
mavlink_log_critical(&mavlink_log_pub, "Avoidance system abort");
|
||||
status_flags.avoidance_system_valid = false;
|
||||
status_changed = true;
|
||||
}
|
||||
|
||||
_avoidance_system_status_change = false;
|
||||
|
||||
Reference in New Issue
Block a user