clean remaining offboard_control_signal_found_once

offboard_control_signal_found_once is not used any more
This commit is contained in:
Nicolas Martin
2021-09-28 09:25:04 -04:00
committed by Daniel Agar
parent 417a50b2cc
commit b24e5fc0af
2 changed files with 1 additions and 2 deletions
-1
View File
@@ -27,7 +27,6 @@ bool circuit_breaker_engaged_usb_check
bool circuit_breaker_engaged_posfailure_check # set to true when the position valid checks have been disabled
bool circuit_breaker_vtol_fw_arming_check # set to true if for VTOLs arming in fixed-wing mode should be allowed
bool offboard_control_signal_found_once
bool offboard_control_signal_lost
bool rc_signal_found_once
@@ -464,7 +464,7 @@ private:
msg->failure_flags |= HL_FAILURE_FLAG_GPS;
}
if (status_flags.offboard_control_signal_lost && status_flags.offboard_control_signal_found_once) {
if (status_flags.offboard_control_signal_lost) {
msg->failure_flags |= HL_FAILURE_FLAG_OFFBOARD_LINK;
}