AP_MotorsMulticopter: minor formatting fix

This commit is contained in:
Randy Mackay 2020-01-30 08:33:00 +09:00
parent aecc10fdc3
commit f00bf77af7
1 changed files with 1 additions and 2 deletions

View File

@ -487,8 +487,7 @@ int16_t AP_MotorsMulticopter::get_pwm_output_max() const
bool AP_MotorsMulticopter::check_mot_pwm_params()
{
if ((_pwm_min == 0 && _pwm_max !=0) || (_pwm_min != 0 && _pwm_max == 0) ||
(_pwm_min < 0 || _pwm_min < 0) || (_pwm_min > _pwm_max))
{
(_pwm_min < 0 || _pwm_min < 0) || (_pwm_min > _pwm_max)) {
return true;
}
return false;