mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-06 16:33:39 +08:00
add killswitch to snapdragon pwm driver
This commit is contained in:
committed by
Lorenz Meier
parent
9eb0e62787
commit
12505177b6
@@ -426,7 +426,7 @@ void task_main(int argc, char *argv[])
|
||||
min_pwm, max_pwm, _outputs.output, pwm, &_pwm_limit);
|
||||
|
||||
// send and publish outputs
|
||||
if (_armed.lockdown || timeout) {
|
||||
if (_armed.lockdown || _armed.manual_lockdown || timeout) {
|
||||
send_outputs_pwm(disarmed_pwm);
|
||||
|
||||
} else {
|
||||
@@ -577,4 +577,3 @@ int snapdragon_pwm_out_main(int argc, char *argv[])
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user