mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-16 22:53:34 +08:00
Commander: reset print once variable if OA is lost.
Signed-off-by: Claudio Micheli <claudio@auterion.com>
This commit is contained in:
committed by
Julian Oes
parent
9966a3d2f8
commit
d937a5725b
@@ -3981,6 +3981,7 @@ void Commander::data_link_check(bool &status_changed)
|
||||
_avoidance_system_lost = true;
|
||||
mavlink_log_critical(&mavlink_log_pub, "Avoidance system lost");
|
||||
status_flags.avoidance_system_valid = false;
|
||||
print_msg_once = false;
|
||||
}
|
||||
|
||||
//if status changed
|
||||
|
||||
Reference in New Issue
Block a user