From 33bf0495e7aafaa3e8a59c0f424c49378cf9a390 Mon Sep 17 00:00:00 2001 From: Andy Piper Date: Wed, 28 Feb 2024 21:30:31 +0000 Subject: [PATCH] AC_Fence: build fix for vehicles that do not support fences --- libraries/AC_Fence/AC_Fence.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libraries/AC_Fence/AC_Fence.cpp b/libraries/AC_Fence/AC_Fence.cpp index b71454d43f6fa9..a0699b7c543fbf 100644 --- a/libraries/AC_Fence/AC_Fence.cpp +++ b/libraries/AC_Fence/AC_Fence.cpp @@ -893,6 +893,7 @@ void AC_Fence::update() {} void AC_Fence::auto_enable_fence_after_takeoff() {} void AC_Fence::auto_disable_fence_for_landing() {} +void AC_Fence::auto_enable_fence_on_arming() {} uint8_t AC_Fence::present() const { return 0; } @@ -904,6 +905,7 @@ uint8_t AC_Fence::check() { return 0; } bool AC_Fence::check_destination_within_fence(const Location& loc) { return true; } float AC_Fence::get_breach_distance(uint8_t fence_type) const { return 0.0; } void AC_Fence::get_fence_names(uint8_t fences, ExpandingString& msg) { } +void AC_Fence::print_fence_message(const char* msg, uint8_t fences) const {} void AC_Fence::manual_recovery_start() {}