mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-01 13:38:38 -04:00
Copter: pass display_failure to AP_Motors heli check
This commit is contained in:
parent
f22a1d3e6d
commit
5cb088fe14
@ -550,10 +550,7 @@ bool Copter::pre_arm_checks(bool display_failure)
|
||||
#endif
|
||||
#if FRAME_CONFIG == HELI_FRAME
|
||||
// check helicopter parameters
|
||||
if (!motors.parameter_check()) {
|
||||
if (display_failure) {
|
||||
gcs_send_text_P(MAV_SEVERITY_CRITICAL,PSTR("PreArm: Check Heli Parameters"));
|
||||
}
|
||||
if (!motors.parameter_check(display_failure)) {
|
||||
return false;
|
||||
}
|
||||
#endif // HELI_FRAME
|
||||
|
Loading…
Reference in New Issue
Block a user