mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-01 21:48:28 -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
|
#endif
|
||||||
#if FRAME_CONFIG == HELI_FRAME
|
#if FRAME_CONFIG == HELI_FRAME
|
||||||
// check helicopter parameters
|
// check helicopter parameters
|
||||||
if (!motors.parameter_check()) {
|
if (!motors.parameter_check(display_failure)) {
|
||||||
if (display_failure) {
|
|
||||||
gcs_send_text_P(MAV_SEVERITY_CRITICAL,PSTR("PreArm: Check Heli Parameters"));
|
|
||||||
}
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
#endif // HELI_FRAME
|
#endif // HELI_FRAME
|
||||||
|
Loading…
Reference in New Issue
Block a user