Browse Source

Copter: remove pointless clause in motor_checks

check_failed doesn't make any state changes and we return true in either case
master
Peter Barker 3 years ago committed by Randy Mackay
parent
commit
a54321ad12
  1. 4
      ArduCopter/AP_Arming.cpp

4
ArduCopter/AP_Arming.cpp

@ -288,10 +288,6 @@ bool AP_Arming_Copter::motor_checks(bool display_failure)
return false; return false;
} }
#endif #endif
// further checks enabled with parameters
if (!check_enabled(ARMING_CHECK_PARAMETERS)) {
return true;
}
return true; return true;
} }

Loading…
Cancel
Save