Skip to content

Commit

Permalink
Update libraries/AC_Fence/AC_Fence.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: Peter Barker <pb-gh@barker.dropbear.id.au>
  • Loading branch information
Hwurzburg and peterbarker authored Jul 25, 2024
1 parent e4bf70f commit d4a6825
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/AC_Fence/AC_Fence.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ bool AC_Fence::pre_arm_check(char *failure_msg, const uint8_t failure_msg_len) c
static uint32_t _last_autoenable_warn_ms = now_ms - 60000; //needs this static since function is const
if (now_ms - _last_autoenable_warn_ms > 60000) {
if (_auto_enabled == 1 or _auto_enabled == 2) {
GCS_SEND_TEXT(MAV_SEVERITY_WARNING, "FENCE_AUTOENABLE is %u, will be deprecated in 4.7, use 3", unsigned(_auto_enabled));
GCS_SEND_TEXT(MAV_SEVERITY_WARNING, "FENCE_AUTOENABLE is %u, will be removed in 4.7, use 3", unsigned(_auto_enabled));
_last_autoenable_warn_ms = now_ms;
}
}
Expand Down

0 comments on commit d4a6825

Please sign in to comment.