mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-17 23:13:34 +08:00
Failsafe PWM - Add PWM_MAIN/AUX_FAILx parameters to set "failsafe" values.
This commit is contained in:
@@ -597,6 +597,10 @@ pwm_main(int argc, char *argv[])
|
||||
return 1;
|
||||
}
|
||||
|
||||
if (pwm_value < 0) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (pwm_value == 0) {
|
||||
usage("failsafe: no PWM provided");
|
||||
return 1;
|
||||
|
||||
Reference in New Issue
Block a user