Skip to content
Snippets Groups Projects
Commit a0f93591 authored by ChristophTobler's avatar ChristophTobler Committed by Beat Küng
Browse files

add killswitch (manual_lockdown) to Snapdragon uart ESC

parent d1a4c2dc
No related branches found
No related tags found
No related merge requests found
......@@ -336,7 +336,7 @@ void task_main(int argc, char *argv[])
_outputs.timestamp = hrt_absolute_time();
int16_t motor_rpms[UART_ESC_MAX_MOTORS];
if (_armed.armed) {
if (_armed.armed && !_armed.lockdown && !_armed.manual_lockdown) {
_outputs.noutputs = mixer->mix(&_outputs.output[0], actuator_controls_s::NUM_ACTUATOR_CONTROLS);
// Make sure we support only up to UART_ESC_MAX_MOTORS motors
......
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