mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-03-11 17:13:56 -03:00
AP_Landing: change AC_FENCE to AP_FENCE_ENABLED
This commit is contained in:
parent
ad59c62899
commit
380d174e32
@ -267,7 +267,7 @@ bool AP_Landing::verify_abort_landing(const Location &prev_WP_loc, Location &nex
|
|||||||
mission.resume();
|
mission.resume();
|
||||||
}
|
}
|
||||||
// else we're in AUTO with a stopped mission and handle_auto_mode() will set RTL
|
// 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();
|
AC_Fence *fence = AP::fence();
|
||||||
if (fence) {
|
if (fence) {
|
||||||
fence->auto_enable_fence_after_takeoff();
|
fence->auto_enable_fence_after_takeoff();
|
||||||
|
Loading…
Reference in New Issue
Block a user