vtol_att_control: apply_pwm_limits() don't spam error

This commit is contained in:
Daniel Agar 2019-11-23 15:57:20 -05:00
parent dbed772316
commit d82f9590c6
1 changed files with 1 additions and 2 deletions

View File

@ -244,7 +244,6 @@ void VtolType::check_quadchute_condition()
bool VtolType::set_idle_mc()
{
unsigned pwm_value = _params->idle_pwm_mc;
struct pwm_output_values pwm_values {};
@ -303,7 +302,7 @@ bool VtolType::apply_pwm_limits(struct pwm_output_values &pwm_values, pwm_limit_
if (ret != OK) {
PX4_ERR("failed setting max values");
PX4_DEBUG("failed setting max values");
return false;
}