forked from Archive/PX4-Autopilot
vtol_type: in FW, set min PWM to PWM_DEFAULT_MIN instead of PWM_MOTOR_OFF
Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
This commit is contained in:
parent
099c2d13f6
commit
08dab18a8b
|
@ -332,7 +332,7 @@ bool VtolType::set_idle_fw()
|
|||
|
||||
for (int i = 0; i < num_outputs_max; i++) {
|
||||
if (is_channel_set(i, generate_bitmap_from_channel_numbers(_params->vtol_motor_id))) {
|
||||
pwm_values.values[i] = PWM_MOTOR_OFF;
|
||||
pwm_values.values[i] = PWM_DEFAULT_MIN;
|
||||
|
||||
} else {
|
||||
pwm_values.values[i] = _min_mc_pwm_values.values[i];
|
||||
|
|
Loading…
Reference in New Issue