Plane: correct bad parameter error message

This commit is contained in:
Randy Mackay
2026-01-28 08:45:12 +11:00
committed by Peter Barker
parent b5738ac667
commit 6ee703ac13
+1 -1
View File
@@ -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;
}