mirror of
https://github.com/ArduPilot/ardupilot.git
synced 2026-10-06 19:00:27 +08:00
Plane: correct bad parameter error message
This commit is contained in:
committed by
Peter Barker
parent
b5738ac667
commit
6ee703ac13
@@ -194,7 +194,7 @@ bool AP_Arming_Plane::quadplane_checks(bool display_failure)
|
||||
}
|
||||
|
||||
// ensure controllers are OK with us arming:
|
||||
if (!plane.quadplane.pos_control->pre_arm_checks("PSC", failure_msg, ARRAY_SIZE(failure_msg))) {
|
||||
if (!plane.quadplane.pos_control->pre_arm_checks("Q_P", failure_msg, ARRAY_SIZE(failure_msg))) {
|
||||
check_failed(Check::PARAMETERS, display_failure, "Bad parameter: %s", failure_msg);
|
||||
ret = false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user