AC_Fence: correct prearm message

This commit is contained in:
Henry Wurzburg 2024-07-28 07:59:02 +02:00 committed by Andrew Tridgell
parent 4a3dad2f8f
commit 9b041be8a1
1 changed files with 1 additions and 1 deletions

View File

@ -463,7 +463,7 @@ bool AC_Fence::pre_arm_check(char *failure_msg, const uint8_t failure_msg_len) c
char msg[MAVLINK_MSG_STATUSTEXT_FIELD_TEXT_LEN+1];
ExpandingString e(msg, MAVLINK_MSG_STATUSTEXT_FIELD_TEXT_LEN+1);
AC_Fence::get_fence_names(_breached_fences, e);
hal.util->snprintf(failure_msg, failure_msg_len, "vehicle outside %s", e.get_writeable_string());
hal.util->snprintf(failure_msg, failure_msg_len, "Vehicle breaching %s", e.get_writeable_string());
return false;
}