mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
RC_Channel: use fence enable_configured()
This commit is contained in:
parent
d16615923d
commit
0288e1e79c
@ -1139,7 +1139,7 @@ void RC_Channel::do_aux_function_fence(const AuxSwitchPos ch_flag)
|
||||
return;
|
||||
}
|
||||
|
||||
fence->enable(ch_flag == AuxSwitchPos::HIGH);
|
||||
fence->enable_configured(ch_flag == AuxSwitchPos::HIGH);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user