Skip to content

Commit

Permalink
AC_FENCE:correct prearm message
Browse files Browse the repository at this point in the history
  • Loading branch information
Hwurzburg committed Jul 24, 2024
1 parent 05d8b0d commit 4398dff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion libraries/AC_Fence/AC_Fence.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down
2 changes: 1 addition & 1 deletion modules/DroneCAN/dronecan_dsdlc

0 comments on commit 4398dff

Please sign in to comment.