Skip to content
Snippets Groups Projects
Commit d937a572 authored by Claudio Micheli's avatar Claudio Micheli Committed by Julian Oes
Browse files

Commander: reset print once variable if OA is lost.

parent 9966a3d2
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment