Browse Source

AP_Landing: change AC_FENCE to AP_FENCE_ENABLED

apm_2208
Iampete1 3 years ago committed by Andrew Tridgell
parent
commit
380d174e32
  1. 2
      libraries/AP_Landing/AP_Landing.cpp

2
libraries/AP_Landing/AP_Landing.cpp

@ -267,7 +267,7 @@ bool AP_Landing::verify_abort_landing(const Location &prev_WP_loc, Location &nex @@ -267,7 +267,7 @@ bool AP_Landing::verify_abort_landing(const Location &prev_WP_loc, Location &nex
mission.resume();
}
// else we're in AUTO with a stopped mission and handle_auto_mode() will set RTL
#if AC_FENCE
#if AP_FENCE_ENABLED
AC_Fence *fence = AP::fence();
if (fence) {
fence->auto_enable_fence_after_takeoff();

Loading…
Cancel
Save