mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-21 15:23:57 -04:00
RC_Channel: change AC_FENCE to AP_FENCE_ENABLED
This commit is contained in:
parent
31bc6d9ec4
commit
bab866268f
@ -777,7 +777,7 @@ void RC_Channel::do_aux_function_runcam_osd_control(const AuxSwitchPos ch_flag)
|
||||
// enable or disable the fence
|
||||
void RC_Channel::do_aux_function_fence(const AuxSwitchPos ch_flag)
|
||||
{
|
||||
#if AC_FENCE
|
||||
#if AP_FENCE_ENABLED
|
||||
AC_Fence *fence = AP::fence();
|
||||
if (fence == nullptr) {
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user