forked from Archive/PX4-Autopilot
Commander: reset print once variable if OA is lost.
Signed-off-by: Claudio Micheli <claudio@auterion.com>
This commit is contained in:
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
|
||||
|
|
Loading…
Reference in New Issue