mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-03 12:30:35 +08:00
vtol_att_control: apply_pwm_limits() don't spam error
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user