Failure detector - Add flight termination comments, make format

This commit is contained in:
bresch
2019-06-05 16:53:08 +02:00
committed by Beat Küng
parent 0655f7603b
commit 59265f6663
5 changed files with 41 additions and 32 deletions
+1 -1
View File
@@ -1031,7 +1031,7 @@ PX4IO::task_main()
/* Check if the flight termination circuit breaker has been updated */
_cb_flighttermination = circuit_breaker_enabled("CBRK_FLIGHTTERM", CBRK_FLIGHTTERM_KEY);
/* Tell IO that it can terminate the flight if FMU is not responding */
/* Tell IO that it can terminate the flight if FMU is not responding or if a failure has been reported by the FailureDetector logic */
(void)io_reg_set(PX4IO_PAGE_SETUP, PX4IO_P_SETUP_ENABLE_FLIGHTTERM, !_cb_flighttermination);
param_get(param_find("RC_RSSI_PWM_CHAN"), &_rssi_pwm_chan);